LeoDog896
b770710e0d
Redo argsValues
...
(Until / if theres a better solution)
2021-02-08 20:59:46 -05:00
LeoDog896
01b4a1b582
Allow time unit to be omittable
2021-02-08 19:45:25 -05:00
LeoDog896
7705c03500
Use Array for validation
...
Unless something goes absolutely terribly and in fact void wrong the ArgumentValidation should be fine.
2021-02-08 19:33:56 -05:00
LeoDog896
8d7cce3044
Use collections for the correct situations
2021-02-08 19:11:47 -05:00
LeoDog896
e809e69a07
Use protected COMMAND_MANAGER field
2021-02-08 18:54:55 -05:00
LeoDog896
f300d60411
Prefer primitives over list
2021-02-08 18:33:01 -05:00
LeoDog896
4379f4b1e1
Outsource node building to other classes
2021-02-08 18:25:10 -05:00
themode
04c792c302
Fix javadoc
2021-02-08 04:10:43 +01:00
themode
004b4563c2
Replace NbtCompound to CommandData
2021-02-08 04:08:22 +01:00
themode
3c7bbc9d2d
Added initial command return support
2021-02-08 03:42:35 +01:00
themode
8334e100cf
Don't send packet to disconnected clients
2021-02-07 22:02:03 +01:00
themode
2d7e16fa8e
change UpdateOption value from int to long
2021-02-07 20:14:40 +01:00
themode
f7aeeabe9c
Override ItemStack#equals
2021-02-07 19:38:14 +01:00
themode
5a308f0ced
Added deprecation warning for most Arguments methods
2021-02-06 19:38:59 +01:00
themode
1af8ea5303
Added comment about broken bedrock client skin using Geyser
2021-02-06 03:51:17 +01:00
jglrxavpok
8a992b3e45
New constructor to give UUID as argument in LivingEntity, now used to specify player UUID
2021-02-05 14:32:28 +01:00
jglrxavpok
da3a8b17b2
Add FireworkMeta#getFlightDuration
2021-02-05 12:18:05 +01:00
jglrxavpok
6addd63396
Fix extension subdependencies not being loaded + Test that J9 modules are supported
2021-02-04 20:40:12 +01:00
jglrxavpok
9ce7a08d12
Extension can check if their code modifiers (including Mixins) loaded correctly
2021-02-04 19:11:43 +01:00
jglrxavpok
ee158c0dea
Use Nullable string instead of Optional in MinestomRootClassLoader#findExtensionObjectOwner
2021-02-04 11:57:43 +01:00
jglrxavpok
2a96beb819
Extensions will be unloaded when server is stopped
2021-02-03 20:56:36 +01:00
jglrxavpok
a63e9462c2
All EventHandler remove extension callback when the extension unloads
2021-02-03 20:47:01 +01:00
jglrxavpok
c9d2edef3a
Tests for shutdown and delay tasks
2021-02-03 19:35:59 +01:00
jglrxavpok
c8e311855f
Auto-unschedule and cancel tasks from extensions
2021-02-03 17:51:14 +01:00
themode
9fe2b8359c
Added convenient EntityFinder#findFirstPlayer(CommandSender)
2021-02-03 17:21:49 +01:00
jglrxavpok
4f39498ef5
Remove debug code no longer relevant
2021-02-03 17:12:20 +01:00
jglrxavpok
eadd4a2b39
Automatically unload GlobalEventHandler callbacks
2021-02-03 17:11:06 +01:00
themode
b5d03cb7a9
Added convenient EntityFinder#find(CommandSender)
2021-02-03 16:57:58 +01:00
KrystilizeNevaDies
a92ab6ea47
Add comment on Instance#setTime
2021-02-03 16:31:15 +10:00
themode
1146d50f24
Cleanup
2021-02-02 21:14:01 +01:00
themode
c6cafb19a4
Added all missing metadata (except Particle)
2021-02-02 21:13:31 +01:00
themode
cb41b2e3d7
Added villager data metadata
2021-02-02 21:03:25 +01:00
jglrxavpok
2b5d67a3ca
Don't crash the server if Mixin can't be loaded due to identical file names inside the JAR file.
...
But please spam the console.
2021-02-02 14:49:19 +01:00
jglrxavpok
9b9565dbbd
Early loading of Mixin and code modifiers
...
+ System property to disable early loading if necessary
2021-02-02 12:44:57 +01:00
themode
b6cce091e8
Remove magic values from ColoredText
2021-02-02 07:04:16 +01:00
themode
f17a518e92
Fix color not being displayed after a forward slash
2021-02-02 06:56:45 +01:00
themode
7843f74b4b
Fix string encoding to UTF-8
2021-02-01 23:39:44 +01:00
themode
dd1b67e5de
Enable netty error processing by default
2021-02-01 18:22:36 +01:00
themode
735dd50f4e
Fix optional metadata
2021-01-31 15:26:51 +01:00
themode
1707cc73f5
rename to #legacyToFormat
2021-01-31 00:42:21 +01:00
themode
2f326aeaae
Rename #toLegacy to #toFormat since it didn't make sense
2021-01-31 00:25:49 +01:00
themode
8f174f2c87
Update ChangeGameStatePacket to reflect wikivg documentation
2021-01-30 16:03:04 +01:00
themode
3026e46220
Added new metadata API
2021-01-30 04:44:44 +01:00
themode
59c4cd9382
Reorder Direction enum to support entity metadata
2021-01-29 21:05:18 +01:00
themode
66817eb9c4
Fixed Team#removeMember
2021-01-29 00:02:43 +01:00
themode
edd880ceb6
Allow to update both the block state and custom ids using PlayerBlockBreakEvent#setResultCustomBlock
2021-01-28 22:53:02 +01:00
themode
b321a10caa
Change the algorithm order of InstanceContainer#setBlock
2021-01-28 16:19:06 +01:00
themode
da2286de74
Make the FakePlayer constructor protected instead of private
2021-01-28 15:42:11 +01:00
themode
c607a7a2cb
Small style cleanup
2021-01-28 15:41:11 +01:00
themode
fa0c5050e4
Prevent entities from moving during death animation
2021-01-28 15:37:55 +01:00
themode
522b4edc7a
New Navigator class to properly separate pathfinder functionalities
2021-01-28 15:33:52 +01:00
themode
e0c8e94bc1
Limit the number of velocity packet used for entities
2021-01-27 19:35:53 +01:00
themode
9775262c6a
Fix velocity for netty clients
2021-01-27 19:20:52 +01:00
themode
626d48a0fb
Fix Sidebar line score not being removed client-side
2021-01-27 17:46:26 +01:00
themode
7a54b4162d
Style cleanup
2021-01-26 15:53:03 +01:00
iamceph
ded8a4b4f8
Move getBlock to Instance only
2021-01-26 09:51:19 +01:00
iamceph
564d549f81
Merge remote-tracking branch 'upstream/master'
2021-01-26 09:46:41 +01:00
themode
a9e638b93f
Fix infinite recursion with Instance#getBlockStateId
2021-01-25 21:58:06 +01:00
themode
0da4f96e7e
Allow gravity values to be doubles
2021-01-25 21:30:56 +01:00
themode
5f75ea7d3a
Remove unnecessary casts
2021-01-25 19:33:53 +01:00
themode
3067f1daaa
Merge with master
2021-01-25 19:27:04 +01:00
themode
9ee25ee8ce
Merge branch 'master' into double-position
2021-01-25 19:24:19 +01:00
themode
f4a3a9e733
Change Sidebar's queue into a Set, added Sidebar#getLines
2021-01-25 17:48:08 +01:00
themode
fa02a12c1e
More math
2021-01-25 14:09:36 +01:00
themode
f48c291929
More math methods in Vector
2021-01-25 13:56:17 +01:00
themode
c01736f863
Use doubles instead of floats to represent Position and Vector
2021-01-25 13:47:13 +01:00
themode
886c4ca9c9
Improve InstanceManager#getInstance comment
2021-01-25 10:21:10 +01:00
iamceph
e74d3ca0f6
Merge remote-tracking branch 'upstream/master'
2021-01-25 09:56:35 +01:00
KrystilizeNevaDies
d733dbbc3f
Upate getInstance(UUID) to return nullable instance
2021-01-25 17:25:51 +10:00
iamceph
324c72002f
Fix oopsie
2021-01-25 01:17:24 +01:00
iamceph
028241e069
Add ability to get Block from Instance
2021-01-25 01:16:07 +01:00
iamceph
6807217608
Add ability to get Instance by UUID ( #114 )
2021-01-25 09:52:08 +10:00
iamceph
60cd25e07f
Add ability to get Instance by UUID
2021-01-25 00:23:44 +01:00
themode
b37670e1c7
Override PlayerSkin#toString
2021-01-24 16:32:42 +01:00
themode
3e990bb716
Ignore INTERACT_AT packet, remove buggy console prefix
2021-01-24 15:44:18 +01:00
themode
a0f5317292
Remove unnecessary unmodifiable collection
2021-01-23 22:06:41 +01:00
Tyan
7d7c65aa70
Set the last location at the end of refreshPosition
2021-01-23 15:51:07 +01:00
themode
bf692d8043
Clone the teleport position to prevent object sharing
2021-01-23 08:42:49 +01:00
themode
36933fe4b3
Ensure synchronization of the location field
2021-01-23 08:23:24 +01:00
themode
7de0067a13
Small utility methods for EntityRotationPacket
2021-01-22 21:28:33 +01:00
TheMode
5eb5f32095
Merge pull request #110 from MrBretze/patch-1
...
Added withProperties in BlockAlternative.java
2021-01-21 17:22:59 +01:00
MrBretzel
840eb1a27e
Update BlockAlternative.java
2021-01-21 17:21:36 +01:00
themode
4bb27c305f
Cleanup & remove unnecessary calls in PlayerDiggingListener
2021-01-21 16:53:20 +01:00
themode
7a4f3672de
Send creeper metadata on spawn
2021-01-21 12:33:04 +01:00
themode
b5a01d6571
Add indicator in the console to display command support
2021-01-21 11:37:54 +01:00
TheMode
1cd3228c06
Merge pull request #109 from DerTyan/exception-handling
...
Added ExceptionManager for custom exception handling
2021-01-21 06:06:27 +01:00
MrBretzel
18ce3625c7
Added withProperties in BlockAlternative.java
...
Example:
blockAlternative.withProperties("facing");
Return the facing of the block a empty string
2021-01-20 20:22:54 +01:00
Tyan
855c8af455
Added ExceptionManager for custom exception handling
2021-01-20 11:43:45 +01:00
themode
d83abcef85
Fix inventory click on size non-divisible by 9
2021-01-20 08:18:00 +01:00
themode
023431e32a
Use ordinal as the id in InventoryType
2021-01-20 05:35:41 +01:00
KrystilizeNevaDies
feb1d8f0e9
missing comma
2021-01-20 13:31:45 +10:00
KrystilizeNevaDies
b08a75fc03
Add SMITHING to InventoryType
2021-01-20 13:31:01 +10:00
themode
240a745830
Prevent runtime exception when passing an array with null values in ArgumentWord
2021-01-19 06:27:58 +01:00
themode
7d72d48a5a
Fix keep alive packet
2021-01-18 21:47:00 +01:00
LeoDog896
fa7fe1398f
Change remove to poll
2021-01-18 10:45:22 -05:00
LeoDog896
78abfb9657
Make init function UNSAFE
2021-01-18 10:44:12 -05:00
LeoDog896
4aed6ffa5c
Revert ConcurrentStack
2021-01-18 10:42:01 -05:00
LeoDog896
83111cb8bb
Add javadocs to ConcurrentStack
2021-01-18 10:35:43 -05:00
LeoDog896
ac68c094ce
Better keepalive and connection handling
2021-01-17 19:26:20 -05:00
TheMode
1eea505da0
Update version name
2021-01-17 08:29:23 +01:00
TheMode
b00824d053
Merge pull request #104 from LeoDog896/master
...
Microoptimization cleanup
2021-01-17 07:20:51 +01:00
LeoDog896
5419530125
Enchanted book and Colored StringBuilder
2021-01-15 22:03:44 -05:00
Alexander
8f130b5dd9
Fix missing field bug
2021-01-15 21:25:16 +00:00
LeoDog896
fec05d6838
More fastutil usages
2021-01-15 16:04:57 -05:00
LeoDog896
3b3a86a402
Prefer nullable over optional
2021-01-15 13:39:12 -05:00
LeoDog896
3514547610
Fix isEmpty check in ColoredText
2021-01-15 13:26:12 -05:00
LeoDog896
8633797420
Use a StringBuilder for ColoredText
2021-01-15 13:16:09 -05:00
LeoDog896
0c1b93a82b
Return non-fastutil type
2021-01-15 13:08:55 -05:00
LeoDog896
12adb9a965
*Actually important Microoptimization*
...
Anything that handles every single connected player should be optimized
2021-01-15 13:05:21 -05:00
LeoDog896
3536bdc856
Microoptimization cleanup
...
Just some small microoptimizations including preferring fastutils, Removing unnecessary checks already dealt with using @NotNull, all since I had extra unplanned free time.
2021-01-15 11:08:11 -05:00
themode
238ea649ab
Cleanup Team class
2021-01-14 04:33:23 +01:00
TheMode
e6706ec327
Merge pull request #102 from LeoDog896/master
...
Add EatBlockGoal instance check & MeleeAttackGoal range.
2021-01-13 20:01:02 +01:00
LeoDog896
97b7e122e9
Add instance check to NavigableEntity
2021-01-13 07:54:06 -05:00
LeoDog896
96d581a49f
Optimize EatBlockGoal with fastutil
2021-01-13 07:50:41 -05:00
LeoDog896
2cd5a362a4
Add eating check for instances.
2021-01-13 07:37:20 -05:00
LeoDog896
85a84dbea6
Add range to MeleeAttackGoal
2021-01-13 07:33:51 -05:00
KrystilizeNevaDies
7bc1f37e80
Add a direct way to set the bounding box in Entity
2021-01-13 21:57:55 +10:00
themode
098ba1a6a4
Fix client crash when receiving packets before playing state
2021-01-13 09:16:22 +01:00
themode
e0afe62c66
Comment about getItemStacks() array modification
2021-01-13 08:39:33 +01:00
themode
9d8e9276f6
Added the convenient InventoryModifier#copyContents
2021-01-13 08:28:37 +01:00
themode
8e1ffdff7d
Prevent double intersect check
2021-01-13 06:34:09 +01:00
themode
7d8ce32ba9
Fix block placement collision on chunk border
2021-01-13 06:32:42 +01:00
themode
d5da334c25
Item lore cannot be null (but empty)
2021-01-13 03:42:31 +01:00
themode
ea8b8ea41e
Fix getChunkAt
2021-01-13 00:56:53 +01:00
LeoDog896
37d528c5a2
Check for removed entity before targeting
2021-01-12 15:16:24 -05:00
themode
fcc5bc4381
Improve bootstrap warning
2021-01-12 04:22:24 +01:00
themode
29c8f924fa
Added missing metadata types
2021-01-11 21:21:19 +01:00
themode
c5d56ae820
Small velocity code cleanup
2021-01-11 08:44:38 +01:00
themode
fc694f4b49
Override JsonMessage#toString
2021-01-11 04:42:50 +01:00
themode
14d0149276
Fix boolean argument
2021-01-11 02:57:18 +01:00
themode
d7fec0297f
Fix argument callback with 0 correct argument
2021-01-11 01:54:59 +01:00
KrystilizeNevaDies
23e70208a8
Fix EntityDamageEvent not being cancellable
2021-01-10 14:18:16 +10:00
themode
1859f513e5
Added convenient EntityFinder#findFirstPlayer
2021-01-10 02:39:05 +01:00
themode
b1db46f575
Allow null instance for entity query
2021-01-10 02:30:57 +01:00
R0bbyYT
71ca9414e4
Makes the HologramEntity accessible and adds documentation.
2021-01-09 22:20:08 +01:00
themode
2cf9e55f7b
Trim argument name
2021-01-09 06:53:55 +01:00
themode
85390662b7
Merge remote-tracking branch 'origin/master'
2021-01-09 03:42:14 +01:00
themode
4a0302892e
Added static parser for ArgumentEntity
2021-01-09 03:40:53 +01:00
Matt Worzala
ef35a39388
Add Player#openBook ( #99 )
2021-01-09 12:40:22 +10:00
themode
9aaecceb01
Added support for player name only
2021-01-09 03:31:24 +01:00
themode
d0bf6d9f0d
Improve ArgumentString parsing + add apache commons-text dependency
2021-01-09 03:14:10 +01:00
themode
8871cf16c0
Don't default the permission level
2021-01-09 02:38:26 +01:00
themode
a6e5dbc60e
Fix permission level to use the target selector
2021-01-09 02:20:55 +01:00
themode
ac1fa4cb9e
Fix selector variables list and use a switch
2021-01-09 01:13:44 +01:00
themode
8f99753235
WIP entity selector argument
2021-01-09 00:59:03 +01:00
themode
2c2a691af7
Registries#getEntityType should return null if invalid
2021-01-09 00:58:06 +01:00
themode
ef1afb9cd9
WIP EntityFinder
2021-01-08 23:47:31 +01:00
themode
8fef648221
Fix chunk packets from being wrongly sent when switching instance
2021-01-08 17:17:36 +01:00
themode
90006ac48d
Prevent compression from blocking the thread too much
2021-01-08 16:20:04 +01:00
Tyan
c702e94937
Made some field in PlayerInventory protected for allowing usage in child classes
2021-01-08 12:29:59 +01:00
themode
066b3dc417
Cleanup
2021-01-08 08:32:33 +01:00
themode
35973c227e
Attempt to prevent exception during first connection
2021-01-08 03:16:59 +01:00
themode
1c65b36087
Rework of ArgumentCallback to be more robust, allowing to simplify all argument types in order to be used out of the command framework for general parsing.
...
Also removed magic space string, replaced with constant from commons apache library
2021-01-08 03:07:37 +01:00
themode
d0e94f0ee5
Small demo update
2021-01-07 20:28:07 +01:00
themode
e4e564ab07
Add info in chunk comment about safe access
2021-01-07 16:51:10 +01:00
themode
d4f61eb152
Improve thread safety in Instance
2021-01-07 16:49:43 +01:00
themode
7c5bb7126a
Added PlayerBlockPlaceEvent#setBlockData
2021-01-07 16:12:56 +01:00
themode
349364e15d
Provide the proper dimensiontype in the JoinGamePacket
2021-01-07 04:21:34 +01:00
themode
0fa82aff1f
Fix default dimension
2021-01-07 03:49:55 +01:00
themode
706a36b30a
Fix dimension not being sent for the first instance & force dimensions to be registered in the manager
2021-01-07 03:46:58 +01:00
themode
cfe6178e46
Added "effects" support for DimensionType
2021-01-07 03:11:51 +01:00
themode
596b9eedb9
Don't ignore entity yaw in EntityCreature#addViewer
2021-01-07 02:30:46 +01:00
themode
709cc064e5
Added FIXME comment for future bugfix
2021-01-06 21:34:59 +01:00
themode
8d1dda74d0
Increase bpe to 15 as a temporary fix
2021-01-06 21:33:38 +01:00
themode
4107c768a3
Fix test
2021-01-06 21:19:09 +01:00
themode
84fd568c0c
Fix attributes not being fully sent for the first player login
2021-01-06 21:09:27 +01:00
themode
459e65da72
Fix build
2021-01-06 20:49:31 +01:00
themode
f5d550cda9
Fix attributes not being refreshed client side
2021-01-06 20:45:40 +01:00
themode
d6a3b18f04
Fix bits per entry value during palette resize
2021-01-06 20:33:01 +01:00
themode
97a29c6ccf
Player#setInstance cleanup
2021-01-06 19:06:37 +01:00
themode
6b39cb1e32
Execute the async login event before sending the login success packet
2021-01-06 19:02:35 +01:00
themode
deb8cab03a
Remove unnecessary checks
2021-01-06 18:01:39 +01:00
themode
6c813e9c26
Made FramedPacket immutable
2021-01-06 03:18:55 +01:00
themode
7347c8df68
Prevent exception when connecting using an older client
2021-01-06 03:16:46 +01:00
themode
2634105ad1
ArgumentWord restrictions should be part of the correction instead of the condition
2021-01-05 21:54:17 +01:00
themode
9546caca04
Fix build
2021-01-05 18:16:44 +01:00
themode
852391f210
Fix packet listeners not being called if there is no default listener
2021-01-05 18:10:25 +01:00
themode
3a7ae11c56
Add CommandSender as param in onDynamicWrite
2021-01-05 18:04:28 +01:00
themode
45c148974e
A bunch of client packets
2021-01-05 13:58:38 +01:00
themode
261d734740
Added all missing server packets
2021-01-05 13:44:14 +01:00
themode
388caefa34
Added BlockEntityDataPacket
2021-01-05 13:38:35 +01:00
themode
47447706b0
Fix Player#kick ignoring the kicking text
2021-01-04 23:15:41 +01:00
themode
0a0d19128c
Added BlockManager#getCustomBlocks
2021-01-04 22:29:44 +01:00
themode
5c2b7f38f6
Update Hydrazine library
2021-01-04 21:37:34 +01:00
themode
640521e6dc
Fix item hide flags and custom model data not being saved in the creative packet
2021-01-04 20:26:17 +01:00
themode
7019b7da85
Fix onGround field and gravityTickCount
2021-01-04 03:04:45 +01:00
themode
f2f9cbc5fa
Prevent NPE when creating a Team without any entity
2021-01-03 23:01:41 +01:00
themode
f13646fd0d
Allow null target in EntityCreature#setTarget
2021-01-03 22:42:15 +01:00
themode
edab21baa6
Allow null target in EntityCreature#setTarget
2021-01-03 22:41:50 +01:00
themode
c52b86822b
Optimize equipment packet creation
2021-01-03 22:05:18 +01:00
themode
5ba68be4a1
Update equipments when clearing a player inventory
2021-01-03 21:59:58 +01:00
themode
765c5be642
Small synchronization optimization
2021-01-03 20:00:00 +01:00
themode
317432460e
Entity cleanup
2021-01-03 00:23:41 +01:00
ThatCreeper
993b936e4e
reorder imports
2021-01-02 17:12:38 -06:00
ThatCreeper
30868df243
Remove unused imports
2021-01-02 17:08:59 -06:00
ThatCreeper
30be7b5b81
Add Potion Add and Remove events
2021-01-02 16:59:17 -06:00
themode
dad642a6a2
Allow retrieving argument value using the argument object instead of the String id
2021-01-02 17:24:26 +01:00
themode
bfad3b8d7c
Allow wrappers for Arguments by making the Map protected
2021-01-02 17:11:27 +01:00
themode
8155845c90
Fix AIOB exception when placing a block in y=256
2021-01-02 16:18:26 +01:00
themode
82631fc6f8
Comments for the optional argument support
2021-01-02 16:09:20 +01:00
themode
0faaea2c1b
Added option to disable the grouped packet feature
2021-01-02 15:44:50 +01:00
themode
1c916b92fa
Use offset constant
2021-01-02 13:16:02 +01:00
Matt Worzala
dc4d7d63e2
fix formatting
2021-01-02 07:03:39 -05:00
Matt Worzala
720422c031
remove irrelevant comment
2021-01-02 07:02:39 -05:00
Matt Worzala
0b9b95e6cb
remove debugging code & use inventory offset constant
2021-01-02 06:51:21 -05:00
Matt Worzala
1f60330abe
Fix double click result handling
2021-01-02 04:40:24 -05:00
themode
4d2dd7d256
Fix javadoc build
2021-01-01 23:40:22 +01:00
themode
4f5847ff10
Little detail about FramedPacket
2021-01-01 23:37:20 +01:00
themode
4bf120b714
Added support for command syntaxes with optional arguments (default values)
2021-01-01 23:36:53 +01:00
themode
2ec727d5f8
Fix InventoryClickResult not using the proper items
2021-01-01 13:43:43 +01:00
Matt Worzala
46ac38d5b3
Change ColoredText usages to JsonMessage
2020-12-31 13:53:21 -05:00
themode
2141792fcf
Fixed math
2020-12-31 12:07:16 +01:00
themode
fd920ffdfe
Potion cleanup
2020-12-31 12:05:36 +01:00
ThatCreeper
0ce094567b
Fix most checkstyle warnings
2020-12-30 19:27:29 -06:00
ThatCreeper
c3d6af3afe
make removeEffect send a packet
...
Make Potion immutable, and use long instead of Long
2020-12-30 19:07:07 -06:00
ThatCreeper
b1cab4ee05
Make /potion use TICK_PER_SECOND
2020-12-30 18:56:56 -06:00
ThatCreeper
c01b57ed9b
removed scheduledPotions
2020-12-30 18:55:20 -06:00
ThatCreeper
fa41aabaed
Make Potions use time instead of nanoTime
2020-12-30 18:47:43 -06:00
ThatCreeper
6a154eb15a
Fix /potion demo command
2020-12-30 18:29:54 -06:00
ThatCreeper
d7883d29ff
Rewrite Potions
2020-12-30 18:29:07 -06:00
ThatCreeper
50b44e46e0
Add PotionEffectManager
2020-12-30 17:12:03 -06:00
themode
d4110632a4
Increase readability when using static fields instead of local ones
2020-12-30 20:30:48 +01:00
themode
23fc19430a
Fix entity uuid map memory leak
2020-12-30 20:29:46 +01:00
themode
835a769080
Implement entity eye height based on boundingbox
2020-12-29 20:42:41 +01:00
themode
78ed12887d
Implement client spectate packet
2020-12-29 19:58:40 +01:00
themode
a7a6210f65
Register ClientSpectatePacket
2020-12-29 19:50:29 +01:00
themode
8b9836d82a
Set Player eye height to 1.62
2020-12-29 18:12:25 +01:00
TheMode
feab43a5f1
Merge pull request #89 from Nesaak/master
...
Add BlockIterator and LivingEntity#getTargetBlockPosition
2020-12-29 18:09:30 +01:00
Nesaak
ebea74f3c6
Remove unused import
2020-12-29 11:54:06 -05:00
themode
8da6148152
PlayerInventory field in player is now protected, to allow unsafe modifications when extending the class
2020-12-29 16:42:07 +01:00
jglrxavpok
817036fd87
Too many F, oops
2020-12-29 16:25:11 +01:00
jglrxavpok
997a76980f
Fix ChunkBatch not deserializing properly block state IDs > 255
2020-12-29 16:17:27 +01:00
themode
3c871ed603
Fix NPE in CrossbowMeta
2020-12-29 15:16:51 +01:00
Nesaak
fd73cc1d23
Add BlockIterator and LivingEntity#getTargetBlockPosition
2020-12-28 20:24:03 -05:00
themode
718d787192
Makes the Pose enum public
2020-12-29 00:43:04 +01:00
themode
f7d1bd7e53
Merge remote-tracking branch 'origin/master'
2020-12-29 00:04:27 +01:00
themode
cecf6310ca
Added Entity#setPose
2020-12-29 00:04:15 +01:00
TheMode
70c9068365
Merge pull request #87 from mworzala/list_typing
...
Minor list typing changes
2020-12-28 21:19:58 +01:00
Matt Worzala
071a2ce196
Change ArrayList types to List
2020-12-28 14:57:39 -05:00
Matt Worzala
460b177866
Set player bounding box size to 0.6.
2020-12-28 14:16:43 -05:00
Archy-X
e9b93c0d02
Merge branch 'master' of https://github.com/Minestom/Minestom
2020-12-28 11:39:26 -07:00
Matt Worzala
c24df2f308
remove debug print
2020-12-28 13:34:48 -05:00
Matt Worzala
c89ffbfc44
Change rounding method of Instance#getChunkAt to fix negative chunk off-by-one
2020-12-28 13:28:10 -05:00
Archy-X
e911612ad6
Add onWrite method with CommandSender in CommandProcessor
2020-12-28 10:59:18 -07:00
themode
ca3667732f
Attempt to fix sync issue in window click
2020-12-28 17:27:40 +01:00
themode
87e8e550f1
Don't add players to the waiting list in the constructor, but in the registration method
2020-12-28 12:41:15 +01:00
themode
924fac562b
Print exceptions properly during server tick
2020-12-28 12:27:25 +01:00
themode
22aa9d01ed
Do not size the string in sendPluginMessage
2020-12-28 10:40:50 +01:00
TheMode
c478bd7af6
Merge pull request #83 from Archy-X/master
...
Add ChatColor values method
2020-12-28 08:06:13 +01:00
Archy-X
05f3760044
Added ChatColor values method
2020-12-28 00:00:47 -07:00
Nesaak
1a1c3339aa
Add #FindPlayer in ConnectionManager
2020-12-27 20:55:57 -05:00
themode
5975f8d838
Stop creating a thread for each auth request
2020-12-28 00:18:25 +01:00
themode
28c5e39f8b
Pre login event is now async
2020-12-27 22:16:19 +01:00
themode
a3ae2f39a5
More comments for NettyServer
2020-12-27 10:53:30 +01:00
themode
6a9461546c
No more memory allocation when using grouped packets
2020-12-26 21:10:27 +01:00
themode
feb4783988
Small optimization for entity velocity
2020-12-26 18:52:44 +01:00
themode
3137be35a4
Better exception message
2020-12-26 16:46:54 +01:00
themode
f4818d46fb
Cleanup extension code and added an option to disable extension loading on startup
2020-12-26 11:55:22 +01:00
R0bbyYT
f58dcbda46
FireworkMeta uses CopyOnWriteArrayList instead of ArrayList, removes #getOwningPlayer()
2020-12-25 10:40:02 +01:00
R0bbyYT
4818e29d81
Merge remote-tracking branch 'origin/master' into feature/item-meta
2020-12-24 15:29:59 +01:00
R0bbyYT
724f0b9c7a
Adds some documentation
2020-12-24 15:29:34 +01:00
themode
557ec7ca83
Fix auto viewable during viewers refresh
2020-12-23 10:51:59 +01:00
themode
18eab183a0
Auto entity viewing cleanup
2020-12-23 10:40:50 +01:00
themode
a6cb126d76
Fix #isAutoViewable
2020-12-23 10:21:48 +01:00
themode
978a1f5135
PlayerChatEvent function should return a JsonMessage and not necessarily a RichMessage
2020-12-23 08:24:29 +01:00
R0bbyYT
58c7ad9e02
Implements PlayerHeadMeta, FireworkMeta and FireworkEffectMeta
2020-12-23 02:24:41 +01:00
themode
6e0ad54d5e
Added EntityEndCrystal
2020-12-22 05:36:15 +01:00
themode
b5feb35619
Added PlayerDeathEvent to change the death message/text
2020-12-22 05:26:37 +01:00
TheMode
460813b6e0
Added dots
...
Signed-off-by: TheMode <themode@outlook.fr>
2020-12-21 13:44:58 +01:00
themode
2a78851ab4
Chunk#addViewer should always send the chunk & light packets
2020-12-20 09:50:47 +01:00
themode
3a7afa63d5
Security update preventing modified client from crashing the server by placing a block in an unloaded chunk
2020-12-20 03:38:36 +01:00
themode
ffbde089f8
BlockPlacementRule cleanup
2020-12-20 03:24:29 +01:00
R0bbyYT
81592d8b56
More documentation for the FakePlayer, Small improvement for the FakePlayerController
2020-12-19 16:32:42 +01:00
themode
c7876d648c
Fix NPE when clicking outside of the inventory to drop
2020-12-18 04:05:29 +01:00
themode
213599a649
Merge remote-tracking branch 'origin/master'
2020-12-18 01:46:00 +01:00
themode
c6d7dea2da
Prevent CME when unloading InstanceContainer chunks
2020-12-18 01:45:45 +01:00
TheMode
049975e239
Merge pull request #78 from MichaelPriebe/master
...
Fix and Cleanup Redstone Placement Rule
2020-12-18 01:30:58 +01:00
themode
943aae7397
Do not send gamemode related packets before the player spawn
2020-12-18 00:57:23 +01:00
themode
3e532b24a8
Prevent placing block in adventure mode
2020-12-18 00:28:06 +01:00
MichaelPriebe
881ed5deca
Update code style
2020-12-17 01:16:24 -05:00
MichaelPriebe
917c4ddfd6
Fix and Cleanup Redstone Placement Rule
2020-12-17 00:51:13 -05:00
themode
8b515e8686
Fix DARK_CYAN color
2020-12-17 00:47:52 +01:00
themode
ed46bd0dc2
Annotation in InventoryClickProcessor
2020-12-16 03:51:13 +01:00
themode
5224eecdd1
Event unification (type-specific event, CancellableEvent is now an interface)
2020-12-16 03:21:59 +01:00
themode
7750934a3f
Small cleanup
2020-12-16 00:13:40 +01:00
themode
7bcca8ff9f
Rename the walkingSpeed ability to fieldViewModifier, the movement speed attribute should be used instead for speed
2020-12-15 13:41:42 +01:00
themode
892c1d5806
Reduce chunk Map operation
2020-12-15 13:27:38 +01:00
themode
74b8674a15
Netty write cleanup and allocator options
2020-12-15 13:18:24 +01:00
themode
b808497c9b
GroupedPacketHandler cleanup
2020-12-15 09:55:53 +01:00
themode
b9a0a761c4
Fixed CommandManager#execute not throwing NPE
2020-12-15 09:30:09 +01:00
themode
26762bec17
Use pooled direct buffer in GroupedPacketHandler when preferred
2020-12-15 09:11:20 +01:00
themode
604d10a06c
Fix WritableBookMeta cloning
2020-12-15 08:55:29 +01:00
themode
69adb67394
Compute the tags packet only once to improve performance on high connection traffic
2020-12-15 06:21:59 +01:00
themode
5c9fd9294a
Fix PreClickEvent canceling being ignored when the inventory condition doesn't cancel
2020-12-15 06:04:58 +01:00
themode
9b9dab56eb
Fix ghost cursor item when canceling an inventory click
2020-12-15 05:52:35 +01:00
themode
bf10f0d3f7
Fixed thread crash when clicking in a non interactive inventory slot (-1)
2020-12-15 05:47:18 +01:00
themode
e1a886aa3a
Fix SetSlotPacket
2020-12-15 05:39:28 +01:00
themode
0658d1659c
Renamed ChunkSupplier#createChunk
2020-12-15 04:21:26 +01:00
themode
a3613bff89
Use CloneUtils for deep copy
2020-12-15 03:40:07 +01:00
themode
17fc4fc7e6
Merge remote-tracking branch 'origin/master'
2020-12-15 03:30:10 +01:00
themode
69d4792191
WIP collection deep cloning. Starting with PotionMeta
2020-12-15 03:29:47 +01:00
TheMode
a9013634ac
Fix dot
...
Signed-off-by: TheMode <themode@outlook.fr>
2020-12-14 07:40:21 +01:00
themode
f2c586177f
Cache the unmodifiable viewers set to mitigate object allocation
2020-12-14 06:27:39 +01:00
themode
0645c4c764
Removed Viewable#sendPacketToSelf
2020-12-14 06:10:11 +01:00
themode
962a5117e9
Condition simplification
2020-12-14 06:08:26 +01:00
themode
3a988ddba1
Fixed block break particles and sound being played two times for the breaker
2020-12-14 06:06:28 +01:00
themode
c1b584da1b
Removed more string concatenation
2020-12-14 05:55:48 +01:00
themode
1742aa6f8a
Updated the custom stone block in demo
2020-12-14 05:43:10 +01:00
themode
22cd7a28a7
Removed some string concatenation in logger
2020-12-14 05:42:22 +01:00
KrystilizeNevaDies
8a2e69f709
Change PlayerSpawnEvent too use player instead of entity
2020-12-14 12:52:51 +10:00
themode
bdedbf9462
Fix intellij auto annotation 2
2020-12-14 03:27:07 +01:00
themode
3cfa216274
Fix intellij auto annotation
2020-12-14 01:45:46 +01:00
themode
8cddf30b9e
Annotation for ChunkGenerator
2020-12-14 01:41:08 +01:00
themode
765dfee3f0
Send an EffectPacket instead of a particle one when breaking a block
2020-12-14 01:19:35 +01:00
themode
b062315efb
Consolidate ChatColor immutable state
2020-12-14 01:03:12 +01:00
R0bbyYT
a51e1a8484
See commit 4ae623cd
, but without the Google code formatting
2020-12-13 23:31:37 +01:00
themode
2fa0f5a417
Revert "Fixes an issue when a player is in another team that this player is not showed in his team for other players"
...
This reverts commit 4ae623cd
2020-12-13 23:01:01 +01:00
R0bbyYT
4ae623cdab
Fixes an issue when a player is in another team that this player is not showed in his team for other players
2020-12-13 15:00:48 +01:00
R0bbyYT
f386815458
Changes the accessibility of ChatColor#getCodeName from protected to public
2020-12-13 14:13:04 +01:00
themode
f9666a8971
Comment indicating that #getChunks return the loaded chunks
2020-12-13 01:33:54 +01:00
themode
bdcb708195
Fix CompassMeta
2020-12-12 23:15:33 +01:00
themode
8dfc52dd15
Added indication on IOException with the resource gatherer
2020-12-12 10:29:38 +01:00
Felix Cravic
5e85c0117a
Cleanup
2020-12-12 06:13:50 +01:00
Felix Cravic
c8154b564f
Fixed EntitySoundEffectPacket name
2020-12-12 05:52:03 +01:00
Felix Cravic
7da5550858
Added EntityAI to facilitate AI integration with other entity types (eg FakePlayer)
2020-12-12 05:50:05 +01:00
Felix Cravic
137273f05f
Fix BlockPlacementRule block state id update
2020-12-12 04:27:43 +01:00
Felix Cravic
77b4fe7287
Throw an exception when an entity tries to move in an unloaded chunk
2020-12-12 00:10:42 +01:00
Felix Cravic
44096ff9cf
Prevent first chunks not loading with a high latency
2020-12-12 00:07:41 +01:00
Felix Cravic
d56bf94135
Specify where EntityManager#addWaitingPlayer is called
2020-12-11 23:35:36 +01:00
R0bbyYT
8542cebd1d
Documentation for the ResponseData and ResponseDataConsumer
2020-12-11 22:44:15 +01:00
Felix Cravic
e9dd1a1366
Merge remote-tracking branch 'origin/master'
2020-12-11 22:07:00 +01:00
R0bbyYT
7644d36165
More numeric range types
2020-12-11 21:56:07 +01:00
Felix Cravic
a1ee3a28a0
TestPermissions cleanup
2020-12-11 21:50:59 +01:00
Felix Cravic
f092e6ebfd
Added comment about permission serialization
2020-12-11 21:46:55 +01:00
Felix Cravic
90102e1562
Permission improvement
2020-12-11 21:42:32 +01:00
Felix Cravic
76c3ea52ac
Merge branch 'master' into nbt-permission
2020-12-11 21:37:00 +01:00
Felix Cravic
0a9ce664f3
Cleanup
2020-12-11 21:36:35 +01:00
Felix Cravic
38dc50bb1a
Optimise entity velocity (to do not send the packet every tick)
2020-12-11 20:17:33 +01:00
Felix Cravic
2f96a47270
Optimise GlobalEventHandler
2020-12-11 19:37:44 +01:00
Felix Cravic
ac8ba3ab10
Fixed ItemDropEvent and PickupItemEvent constructor + changed PlayerInit event registration to use the global event handler
2020-12-11 04:34:08 +01:00
Felix Cravic
c16a0234a3
Comment for PermissionHandler#getPermission
2020-12-11 03:24:30 +01:00
Felix Cravic
6017a902c3
fix typo
2020-12-11 03:22:07 +01:00
Felix Cravic
7700c718aa
Added PermissionHandler#getPermission
2020-12-11 03:19:25 +01:00
Felix Cravic
1b7f00f1b9
Merge branch 'master' into nbt-permission
2020-12-11 03:15:14 +01:00
Felix Cravic
62ab0a2007
Remove unnecessary shouldUpdate method in Entity
2020-12-10 18:12:05 +01:00
Felix Cravic
00c144b592
Rework of the permission API
2020-12-10 02:56:56 +01:00
Felix Cravic
30a7843018
Added #flush in comment
2020-12-10 00:08:35 +01:00
Felix Cravic
654a68092a
Simply MainDemo
2020-12-09 22:38:20 +01:00
Felix Cravic
54d3a6bace
fixed GlobalEventHandler getter name
2020-12-09 22:36:15 +01:00
Felix Cravic
6e3df970fa
Added GlobalEventHandler
2020-12-09 22:31:20 +01:00
Felix Cravic
30d257c847
Remove unnecessary #callEvent override in Entity
2020-12-09 22:18:11 +01:00
Felix Cravic
08f7b1c715
Event callback collections now use a set, and #add/removeCallback return a boolean to know if the action was successful
2020-12-09 22:05:11 +01:00
Felix Cravic
f7c05a445e
Remove #copy
2020-12-09 21:34:53 +01:00
Felix Cravic
f39f6444d7
PublicCloneable and support for ItemMeta#clone
2020-12-09 21:15:02 +01:00
Felix Cravic
cea3b8b593
WIP removal of #copy for #clone
2020-12-09 20:51:40 +01:00
KrystilizeNevaDies
f54dc4efe5
Style fixes + Imports
2020-12-10 01:10:46 +10:00
CmdrNorthpaw
df536f9aaf
Function in CommandSender to send ColoredText ( #75 )
...
* Send ColoredText messages to CommandSender
* Only send ColoredText if this is a player
* Documentation!
2020-12-10 01:09:29 +10:00
TheMode
ea3021ea69
Console command doesnt need to start with the command prefix
...
Signed-off-by: TheMode <themode@outlook.fr>
2020-12-09 06:30:15 +01:00
Felix Cravic
5576d11fce
Do not wait for worker thread shutdown
2020-12-08 18:14:10 +01:00
Felix Cravic
91a000ab31
heap buffers don't need to be released manually
2020-12-08 09:49:29 +01:00
Felix Cravic
b307a979c3
Added NotNull annotation for Sidebar
2020-12-08 09:39:51 +01:00
Felix Cravic
42cedf3fbf
Use Guava to initialize concurrent linked queues
2020-12-08 09:36:19 +01:00
Felix Cravic
fec23a9783
Improve grouped packet performance
2020-12-08 09:13:22 +01:00
Felix Cravic
91dc4eb675
Remove unnecessary synchronized blocks
2020-12-08 03:37:00 +01:00
Felix Cravic
eca6a657c3
Execute InstanceTickEvent in Instance instead of InstanceContainer
2020-12-08 00:16:46 +01:00
Felix Cravic
c836bbc051
Merge remote-tracking branch 'origin/master'
2020-12-08 00:13:24 +01:00
Felix Cravic
716e2ea5ef
Remove unnecessary synchronized block and allow for custom drop amount
2020-12-08 00:12:49 +01:00
KrystilizeNevaDies
061c1600e7
Annotation and type fix
...
Just clean up annotations on primatives and instance v InstanceContainer
2020-12-08 09:12:42 +10:00
Felix Cravic
99f4c8f2d3
No item copy when swapping item hand
2020-12-08 00:08:27 +01:00
Felix Cravic
0de69ae2ad
Merge remote-tracking branch 'origin/master'
2020-12-07 23:58:34 +01:00
Felix Cravic
ff4580c41b
Prevent unnecessary item copy during drop
2020-12-07 23:57:57 +01:00
KrystilizeNevaDies
e8e30b1328
Fix first tick call
2020-12-08 07:52:46 +10:00
KrystilizeNevaDies
6cc8946963
Add instance tick event
2020-12-08 07:30:14 +10:00
Felix Cravic
40787902e3
Small demo code update
2020-12-06 20:20:05 +01:00
Felix Cravic
07990b26e9
Better comment for Entity#isAutoViewable
2020-12-06 20:11:14 +01:00
Felix Cravic
0f97930f79
Fix player gravity
2020-12-06 16:52:04 +01:00
Felix Cravic
43aca45c05
Fixed void promise on channel write
2020-12-06 05:52:36 +01:00
Felix Cravic
70000e75d5
Added gravity acceleration and terminal velocity (and an utils method to get the gravity tick count)
2020-12-06 01:36:37 +01:00
Felix Cravic
d5e5412309
Allow custom EntityCreature death animation time
2020-12-06 00:06:52 +01:00
Felix Cravic
3f487f4f4f
Entity with scheduled removal still execute tick until complete removal, added some comments
2020-12-05 23:57:07 +01:00
Felix Cravic
8966cc7ec8
Merge remote-tracking branch 'origin/master'
2020-12-05 20:55:04 +01:00
Felix Cravic
a58dab4f34
Disable netty errors processing by default
2020-12-05 20:54:39 +01:00
R0bbyYT
a1ef2b21c3
The leather armor pieces are now correctly colored
2020-12-05 20:45:54 +01:00
Felix Cravic
e3f6b73241
NettyPlayerConnection.java#write and flush should return a ChannelFuture
2020-12-05 20:35:43 +01:00
LeoDog896
e6c314a5e5
Ignore kotlin in classloader
2020-12-05 11:44:18 -05:00
Felix Cravic
1f1bd348b5
Fix player teleport being teleported inside a block
2020-12-05 17:14:10 +01:00
Felix Cravic
3c0fa42758
Precision in the documentation, syntax argument count needs to be higher than 0
2020-12-05 16:19:54 +01:00
Felix Cravic
59b4b7996d
Do not retrieve all chunks when teleporting in the same chunk
2020-12-05 16:16:25 +01:00
Felix Cravic
f7753ab447
#showPlayer cleanup
2020-12-05 16:09:08 +01:00
Felix Cravic
6bd6d22651
Added EntityCreature#switchEntityType
2020-12-05 01:36:06 +01:00
Felix Cravic
cd44732cbc
Velocity cleanup
2020-12-04 19:19:30 +01:00
Felix Cravic
9b8579eaf4
Small cleanup
2020-12-04 18:25:24 +01:00
KrystilizeNevaDies
d6c0a24bed
Add Vector & BlockPosition copyCoordinates
2020-12-04 15:17:25 +10:00
Felix Cravic
ddf8cc383d
Fixed concurrent exception when shutting down the extension manager
2020-12-03 17:54:23 +01:00
Felix Cravic
6f8cbeb73b
Unload extensions when shutting down the server
2020-12-03 17:35:04 +01:00
Felix Cravic
d61a598c94
Prevent players being disconnected two times during a clean stop, also made shutdown tasks being executed in a single thread
2020-12-02 21:28:36 +01:00
Felix Cravic
5de6e466ee
Execute the shutdown tasks before closing the netty server
2020-12-02 20:55:05 +01:00
Felix Cravic
6748fbe6bf
Merge remote-tracking branch 'origin/master'
2020-12-02 20:35:23 +01:00
Felix Cravic
635d6f9f95
Fixed EntityCreeper metadata
2020-12-02 20:35:09 +01:00
KrystilizeNevaDies
936f7b9392
Add direct playSound variant
2020-12-03 00:08:09 +10:00
Felix Cravic
181f20289c
Cleanup for the sound code, and comment for PlayerLoginEvent about not working player methods
2020-12-02 14:36:54 +01:00
Felix Cravic
369910aea4
Fixed a terrible typo
2020-12-01 18:52:37 +01:00
Felix Cravic
aa4ee97710
Added getter and setter for the entity in GoalSelector
2020-12-01 18:21:19 +01:00
KrystilizeNevaDies
92b06b6992
sendPacketToSelf
...
Added sendPacketToSelf for more utility on veiwable player
2020-11-30 10:25:12 +10:00
Felix Cravic
8675a90e9c
Added the NavigableEntity interface to use the pathfinder (instead of hardcoding it in EntityCreature)
2020-11-29 23:14:21 +01:00
Felix Cravic
75e3ffde8d
Comments for FollowTargetGoal
2020-11-29 22:19:13 +01:00
Felix Cravic
b6aa81bbbf
Prevent adding a command syntax without any argument
2020-11-29 21:34:54 +01:00
Felix Cravic
415bcda6fd
Allow custom Netty thread count
2020-11-29 17:49:02 +01:00
Felix Cravic
cabdb60370
Fix pathfinding NPE
2020-11-29 17:27:24 +01:00
Felix Cravic
bb3d57b1e5
WIP support for flying entities
2020-11-29 16:50:57 +01:00
Felix Cravic
d0ad143c0f
Prevent dropping air
2020-11-29 16:41:56 +01:00
Felix Cravic
1f2e4de0b3
Use of a ScheduledExecutorService for the server ticks (instead of Thread#sleep)
2020-11-28 21:50:34 +01:00
Felix Cravic
a7b6a20cae
Prevent enabling mojang auth multiple time + cleanup
2020-11-28 20:57:08 +01:00
Felix Cravic
bd49ae05f4
Prevent the generation of authentication service when mojang auth is disabled
2020-11-28 20:49:05 +01:00
Felix Cravic
c21acd97f3
Use unpooled buffer in ChunkDataPacket to reduce memory usage
2020-11-27 14:32:13 +01:00
Felix Cravic
1579bee693
Made Entity#generateId public and prevent writing null data to BinaryWriter
2020-11-27 13:29:38 +01:00
Felix Cravic
cac3c29e41
Added block command argument type
2020-11-27 11:24:32 +01:00
Felix Cravic
80d899a53a
EntityCreature scheduling priority for pathfinding can now be modified
2020-11-27 10:47:35 +01:00
Felix Cravic
8ae82a81a1
Cleanup
2020-11-27 00:08:32 +01:00
Felix Cravic
fe568abe70
Entity gravity fixed 2
2020-11-26 22:29:06 +01:00
Felix Cravic
3bc90fffd9
Prevent EntityCreature from ignoring gravity
2020-11-26 14:14:40 +01:00
Felix Cravic
e813037475
Fixed position fields update for netty connections
2020-11-26 13:38:52 +01:00
Felix Cravic
63196e024b
Fixed EntityTeleportPacket being sent for every position fields modification and use a proper entity movement packet instead of velocity
2020-11-26 12:46:49 +01:00
Eoghanmc22
012e65337d
Improve follow target goal
2020-11-25 21:36:18 -05:00
Eoghanmc22
f8840cf7a9
Merge branch 'master' of https://github.com/Minestom/Minestom
2020-11-25 20:15:08 -05:00
Eoghanmc22
338a1737c7
wait for netty to finish shutting down
2020-11-25 20:13:38 -05:00
Felix Cravic
0fc494d9df
Fixed concurrent exception with attributes
2020-11-26 02:00:20 +01:00
Felix Cravic
79a5f99358
A few internal comments
2020-11-26 01:38:08 +01:00
Felix Cravic
ae845e38ab
Small cleanup
2020-11-26 01:24:43 +01:00
Eoghanmc22
6d203b975e
Merge branch 'master' of https://github.com/Minestom/Minestom
2020-11-25 19:06:45 -05:00
Felix Cravic
431d20ef73
Fixed syntax starting with an unspecified length argument
2020-11-26 00:57:01 +01:00
Eoghanmc22
296d645400
Merge branch 'master' of https://github.com/Minestom/Minestom
...
Conflicts:
src/main/java/net/minestom/server/benchmark/BenchmarkManager.java
2020-11-25 11:29:50 -05:00
Eoghanmc22
d1138f9f81
Fix race condition
2020-11-25 11:28:37 -05:00
Felix Cravic
049e3b8495
Position in Player#setInstance can be null
2020-11-25 12:21:29 +01:00
Felix Cravic
ab73b0fa3e
Player#setInstance can now take an optional Position parameter
2020-11-25 12:12:58 +01:00
Felix Cravic
edf22fcb66
Prevent getting the cpu monitoring message if the benchmark manager is not enabled
2020-11-25 11:39:36 +01:00
Felix Cravic
df4dd762d9
Minestom is not really an alternative to Bukkit
2020-11-25 10:58:09 +01:00
Felix Cravic
24d4e9b7e4
Added BatchOption
2020-11-25 09:47:04 +01:00
Felix Cravic
7bbb095156
Fixed Player#setInstance not refreshing chunks when already in an instance
2020-11-24 22:56:12 +01:00
Felix Cravic
38bcb755c2
Fixed PotionEffect ids
2020-11-23 10:08:23 +01:00
Felix Cravic
daa72719a0
Specify that ASK_SERVER is required for dynamic write callback
2020-11-22 23:04:06 +01:00
Felix Cravic
0705ab34ed
Allow custom suggestion type with ArgumentDynamicWord
2020-11-22 22:58:14 +01:00
Felix Cravic
e09397a0e2
Use of a lock object to synchronize instance entities collections
2020-11-22 22:18:47 +01:00
Eoghanmc22
d056fceb8a
slightly improve performance and fix memory leak
2020-11-22 12:44:08 -05:00
themode
a8c1c73282
Use of a synchronized wrapper for InstanceContainer chunks map
2020-11-22 17:40:57 +01:00
Eoghanmc22
414245a1a6
Merge branch 'master' of https://github.com/Minestom/Minestom
2020-11-22 10:33:38 -05:00
themode
5966cdaa47
Reduced the number of garbage objects
2020-11-22 16:32:15 +01:00
Eoghanmc22
a934df2af2
Merge branch 'master' of https://github.com/Minestom/Minestom
2020-11-22 08:59:52 -05:00
themode
0a5349226e
Replaced CopyOnWriteArraySet to IntOpenHashSet for block entities
2020-11-22 14:58:01 +01:00
themode
fcb59ff7e7
Removed unnecessary biomes clone
2020-11-22 14:52:37 +01:00