themode
ccaf9b5c47
Reformat code
2020-11-17 15:58:36 +01:00
JësFot
3597af34f9
Add comments to attribute system
2020-11-17 15:52:20 +01:00
JesFot
b9ea934857
Changing shareWithClient defaults to `true
`
2020-11-17 15:10:48 +01:00
JësFot
d738f9fddd
Implement attribute instances
2020-11-17 14:59:47 +01:00
themode
089f9a30aa
Comments about write/read limit of 0
2020-11-17 08:15:05 +01:00
themode
f965c5b9c9
Added write and read limit
2020-11-17 05:27:05 +01:00
themode
37a626121b
Set the default thread provider thread count to PROCESSORS*2
2020-11-17 02:56:55 +01:00
themode
c755dcfb0c
Prevent permanent loop for console commands
2020-11-17 02:43:20 +01:00
themode
ddaa3a6678
Prevent potential synchronization issue while removing client cache
2020-11-17 01:33:12 +01:00
themode
8b526bcabe
Decrease compression level to 3
2020-11-16 17:42:37 +01:00
themode
12822c508f
Cleanup
2020-11-16 17:36:31 +01:00
themode
392e702108
Improving chunk generation performance
2020-11-16 17:02:40 +01:00
themode
d4637f328b
Fix server ping
2020-11-16 12:44:20 +01:00
themode
a5839ae1c8
PacketListenerManager#processServerPacket comment
2020-11-16 12:25:13 +01:00
themode
798b5d4853
Only flush during player update
2020-11-16 12:03:22 +01:00
themode
540405e796
Optimized PacketCompressor
2020-11-16 11:41:03 +01:00
themode
310733b747
Fixed stacking not working with NbtDataImpl
2020-11-16 07:40:45 +01:00
themode
3db53a798f
Removed lombok dependency
2020-11-16 03:10:51 +01:00
themode
11f1a5380c
Fix data file not being generated in TestLootTables
2020-11-16 00:46:46 +01:00
themode
6fbea18b41
Javadoc clarification
2020-11-16 00:04:27 +01:00
themode
a8ef335ac5
Added docs folder for GitHub Pages
2020-11-15 23:39:49 +01:00
themode
beebf18af2
Fixed the chunk generator not being executed when no populator is defined
2020-11-15 10:44:11 +01:00
themode
f1d046753c
Added info about chunk potential memory leak
2020-11-15 08:33:03 +01:00
themode
2285c9622a
If the garbage collector is happy, everyone is - TheMode
2020-11-15 08:03:33 +01:00
themode
47a18fc305
Created PaletteStorage#clean
2020-11-15 05:12:28 +01:00
themode
f67328c7a7
Clarify that entity ids are unique server-wide
2020-11-14 23:24:16 +01:00
themode
44fbeaa2d8
Use player respawnPosition in the SpawnPosition packet
2020-11-14 23:21:47 +01:00
themode
4353e10741
Added bungee skin/uuid forwarding
2020-11-14 23:18:52 +01:00
themode
ae8a182eb8
Read player skin from velocity
2020-11-14 22:13:01 +01:00
themode
1d1e82aeb3
Prevent infinite load screen when not teleporting the player on spawning
2020-11-14 21:45:30 +01:00
themode
ea6981c4b0
Space cleanup
2020-11-14 21:05:23 +01:00
themode
0abedd7453
Optimization to prevent permanent map lookup
2020-11-14 09:02:29 +01:00
themode
648cad85c2
Entity implements now PermissionHandler
2020-11-14 07:09:36 +01:00
themode
da94942bad
Created PermissionHandler
2020-11-14 07:06:46 +01:00
themode
868f921b94
Better warning message when a packet is not fully read
2020-11-14 05:33:24 +01:00
themode
facc43e550
Added OptifineSupport for fast fix
2020-11-14 04:09:38 +01:00
themode
0d3ef8e7a3
Synchronize biome registration
2020-11-14 03:21:16 +01:00
themode
a56a9aba3e
Clarification for FakePlayer#initPlayer about player registration
2020-11-14 02:30:42 +01:00
themode
597f292c16
Synchronize BlockManager registration methods
2020-11-14 01:47:25 +01:00
themode
1a8baf36f6
Prevent command override using CommandManager
2020-11-14 01:39:51 +01:00
themode
669e7ea711
Prevent important biome fields from being null
2020-11-14 01:06:04 +01:00
themode
2ea2efb5a2
Comments for packet handler getter
2020-11-14 00:26:15 +01:00
themode
6586ca39bc
Added MinecraftServer#getPacketProcessor and allow to override client packet and instantiate packet instance from an id
2020-11-14 00:20:19 +01:00
themode
a1fd711b85
Created DebugUtils
2020-11-13 21:57:45 +01:00
themode
ade727cd0f
Cleanup + created SingleThreadProvider
2020-11-13 19:43:22 +01:00
themode
47045252e5
PacketUtils comment
2020-11-13 09:17:53 +01:00
themode
2d009e19a7
Added KQueue support on OSX + netty version update
2020-11-13 08:39:05 +01:00
themode
1bf8c5f89b
Fixed time packet being sent every tick (should be every second now)
2020-11-13 07:45:35 +01:00
themode
c60f625c55
Revamp of the packet sending code, added possibility to have listeners for outgoing packets
2020-11-13 07:43:35 +01:00
themode
3c2c7acb0b
Optimize PaletteStorage operations
2020-11-13 03:57:13 +01:00
themode
0ae656c1f2
Prevent placing blocks above y=255
2020-11-13 03:51:02 +01:00
themode
72d941bc74
Prevent corrupted item stack from crashing the server
2020-11-13 03:39:00 +01:00
themode
1e30283733
Fixed palette breaking with a Y below 0
2020-11-13 03:29:09 +01:00
themode
0ab9c79a28
Prevent array resizing during server tick
2020-11-13 03:26:35 +01:00
themode
f24ae00c8f
Enable packet rate limit by default with a value of 300
2020-11-13 02:07:01 +01:00
themode
a992dc1ff9
Removed confusing BinaryReader method
2020-11-13 02:02:52 +01:00
themode
02f507d5ad
Server shouldn't crash/lag when receiving a string too big
2020-11-13 01:53:55 +01:00
themode
674e1079dd
Added max packet size condition
2020-11-13 01:34:25 +01:00
themode
373a1cf3a7
Removed TODO
2020-11-13 00:31:04 +01:00
themode
13932a6ca3
Removed RichMessage format retention, should be done manually. + cleanup
2020-11-13 00:28:22 +01:00
themode
d3d3cc6553
Each chunk section gets its own palette, should decrease memory usage on vanilla-like worlds
2020-11-12 22:41:41 +01:00
themode
5d8b8666f2
More PaletteStorage comments
2020-11-12 08:23:37 +01:00
themode
6e77bb8358
Improved demo commands clarity
2020-11-12 03:09:36 +01:00
themode
60d01fab11
Fix main loop sleep
2020-11-12 00:56:36 +01:00
themode
041bc721c8
Cleanup UpdateManager
2020-11-12 00:18:36 +01:00
themode
46bf69c9e2
PaletteStorage comments
2020-11-11 21:44:32 +01:00
themode
1d7db5e211
Added dynamic palette resizing
2020-11-11 21:35:20 +01:00
Eoghanmc22
a7a390307c
Corrected bitwise palette code and some bugs.
2020-11-11 14:28:59 -05:00
themode
babc6e35ba
Fixed palette
2020-11-11 17:30:18 +01:00
themode
55cddf6b78
Added palette
2020-11-11 17:13:36 +01:00
themode
00656d96e0
Cleanup
2020-11-11 08:16:42 +01:00
themode
93bae25085
Custom blocks also use a PaletteStorage object, removed StaticChunk since memory is not an issue anymore
2020-11-11 07:29:07 +01:00
themode
4dfe01ea2f
WIP PaletteStorage (only works with Bits per entry of 15)
2020-11-11 06:06:28 +01:00
themode
b6bf6a17ba
Merge branch 'master' into test-palette
...
# Conflicts:
# src/main/java/net/minestom/server/instance/DynamicChunk.java
2020-11-11 04:27:03 +01:00
themode
dde3430010
ArgumentRelative comment
2020-11-11 04:24:09 +01:00
themode
d520a0ebc4
Created ArgumentRelativeVec to prevent code duplication
2020-11-11 03:31:15 +01:00
themode
6cbe656b15
Added "semi-relative" location argument support
2020-11-11 02:11:28 +01:00
themode
99d27b78c4
Fixed NbtDataImpl not working in creative mode
2020-11-11 00:29:06 +01:00
themode
78bf5dda05
Comments for the relative location arguments
2020-11-10 23:31:35 +01:00
themode
ad357d70fc
Added ArgumentRelativeBlockPosition, ArgumentRelativeVec3 and ArgumentRelativeVec2
2020-11-10 23:16:35 +01:00
themode
bbf9f92b52
Added bungee forwarding support
2020-11-10 21:38:08 +01:00
themode
bcee5424dc
Fixed copied packets and compression using velocity forwarding
2020-11-10 21:14:24 +01:00
themode
f2e52ff463
Send an EntityMovementPacket every tick if the player did not move since the last one
2020-11-10 18:13:24 +01:00
themode
3ddca82aaa
Cleanup 2
2020-11-10 08:01:27 +01:00
themode
68bb479f4a
Cleanup
2020-11-10 07:42:11 +01:00
themode
c6c8f6b9d6
Usage comments for VelocityProxy
2020-11-10 00:13:57 +01:00
themode
7db94f3a65
Support for velocity modern forwarding
2020-11-09 23:48:34 +01:00
themode
247a328a09
Annotations for the advancement API
2020-11-09 18:29:30 +01:00
TheMode
826533e5ee
Added some dots
...
Signed-off-by: TheMode <themode@outlook.fr>
2020-11-09 18:08:26 +01:00
themode
e583f21b74
Fixed client crashing when pinging with an older client
2020-11-09 03:21:18 +01:00
themode
f9035bf949
Param comments for NBTUtils#toNBT
2020-11-08 22:40:50 +01:00
themode
4412bea7b8
NBTUtils comments and contributors link in README.md
2020-11-08 20:13:24 +01:00
themode
11fc1e39bc
Cleanup InstanceContainer#copy
2020-11-08 17:39:03 +01:00
themode
682c660857
Fixed javadoc
2020-11-08 15:57:00 +01:00
themode
a574c1fe2a
Close the command scanner once stopped
2020-11-07 22:58:19 +01:00
themode
224626bdbd
Added NbtDataImpl to support writing custom item NBT data to the client
2020-11-07 19:39:22 +01:00
themode
7bdfc93334
Added some comments about exceptions
2020-11-07 04:42:48 +01:00
themode
1d30e6e953
Use the Validator interface when possible for readability
2020-11-07 04:28:50 +01:00
themode
b2097a338d
Added comments for Argument constructors
2020-11-07 03:45:25 +01:00
themode
66fc6779b6
Dynamic arguments now also have an optional dynamic restriction
2020-11-07 03:40:37 +01:00
themode
8c8ba37947
Added auto suggestion in the reload command
2020-11-06 23:35:31 +01:00
themode
cf6fbd3d34
Cleanup
2020-11-06 22:58:38 +01:00
themode
fc4501501b
Fix tasks not being canceled properly + annotations
2020-11-06 22:13:52 +01:00
jglrxavpok
69f424eb6a
Improve load command safety
2020-11-06 16:10:44 +01:00
jglrxavpok
d83bec4732
Let users change extension jar after unload, then load it again
2020-11-06 16:03:08 +01:00
themode
7ba1b9e174
Added additional information in InstanceContainer#cacheChunk about signaling
2020-11-05 22:53:46 +01:00
themode
73d99bf462
Made InstanceContainer#cacheChunk public
2020-11-05 22:42:03 +01:00
themode
0ee8eb7d45
Removed the instance from Chunk constructor
2020-11-05 22:37:04 +01:00
themode
46d008b595
Added annotations in PacketUtils
2020-11-05 22:20:51 +01:00
themode
dfa725800a
Merge remote-tracking branch 'origin/master'
2020-11-05 16:37:32 +01:00
themode
428cea625e
Removed Block empty duplicate
2020-11-05 16:37:16 +01:00
KrystilizeNevaDies
16051e09de
Minor typo fix
...
Forgot to remove reduntant hashtag
2020-11-06 01:15:06 +10:00
TheMode
d31c6e8c5f
Merge pull request #64 from Geolykt/patch-1
...
Added distanceSquared where applicable and changed BlockPosition distance calculation
2020-11-05 15:44:35 +01:00
KrystilizeNevaDies
b50530b4e7
Fix rgb byte overflow
...
Fix rgb byte overflow:
Changed from concatenation and logic to bitwise ops
2020-11-06 00:36:45 +10:00
Geolykt
3be5605126
Added distanceSquared where applicable
...
Warning: Also breaks current API-Implementation (API-specification remains the same) in a way that BlockPosition#getDistance(BlockPosition) no longer returns the manhattan distance, but the distance according to pythagoras.
2020-11-04 20:31:29 +01:00
themode
2c0f0a8f9e
Remove warning about MinecraftServer#setEntityViewDistance
2020-11-04 19:20:45 +01:00
themode
7b6f4b365b
Do not add the entity as viewer multiple time
2020-11-04 19:16:47 +01:00
themode
f85b2c4aad
Allow dynamic entity view distance change
2020-11-04 19:14:04 +01:00
themode
ae1d089603
Rounded extensions loading time for readability purpose
2020-11-04 18:27:18 +01:00
themode
8612245ff9
Added precison to the InventoryModifier comments
2020-11-04 18:22:42 +01:00
themode
c03a2992ef
Stop the whole click process if the event is canceled
2020-11-04 15:41:56 +01:00
themode
097dcf0f6c
Log the proper warning message instead of a NPE
2020-11-04 14:18:02 +01:00
themode
b296b103c1
CommandCondition command string can be null if a new command packet is built
2020-11-04 05:19:30 +01:00
themode
9781e380b9
Command syntaxes can now contain a CommandCondition
2020-11-04 04:45:46 +01:00
themode
b84bcde84d
Fixed Argument#useRemaining creating an empty array
2020-11-03 23:31:26 +01:00
jglrxavpok
925f5fa614
Reloading extensions
2020-11-03 21:26:46 +01:00
themode
b575d6df57
Changed the wiki link in README.md
2020-11-03 18:22:36 +01:00
jglrxavpok
25cde2cde7
Mixin modifications between extensions is now possible
2020-11-03 10:26:31 +01:00
jglrxavpok
d09c2756aa
Fix ChunkDataPacket using doubles for block entity data instead of ints
2020-11-03 09:03:54 +01:00
jglrxavpok
547e7cf6e6
Cleanup TODOs
2020-11-03 08:59:23 +01:00
themode
96dcd0e27f
Incredibly hard update to 1.16.4
2020-11-03 02:16:32 +01:00
themode
1c6070a1b2
Added an unknown command callback
2020-11-02 04:13:43 +01:00
themode
2e0c5a72b7
Added optional additional data in Permission#isValidFor
2020-11-02 02:53:12 +01:00
themode
e65ab88a3b
WIP palette
2020-11-01 22:53:36 +01:00
themode
463e1f047f
Cleanup + added PlayerSettingsChangeEvent
2020-11-01 00:07:15 +01:00
themode
30b9ae2ac8
Added FakePlayer comments
2020-10-31 20:12:20 +01:00
themode
487e7a097c
Renamed scheduledCallback to spawnCallback
2020-10-31 20:01:02 +01:00
themode
fbff3a6b0b
Fixed the FakePlayer scheduled callback being called in an external thread
2020-10-31 19:59:02 +01:00
themode
9a7a1e6ff4
The scheduled callback for FakePlayer is not mandatory, send
2020-10-31 19:54:10 +01:00
themode
b74d85eca8
The chunk view distance can now be dynamically modified both by the client or with the server using MinecraftServer#setChunkViewDistance, also added UpdateViewDistancePacket
2020-10-31 19:44:22 +01:00
themode
6e36f3242d
Added InstanceContainer#copy and Chunk#copy
2020-10-31 19:22:23 +01:00
themode
0184ada9a0
Renamed #clone to #copy
2020-10-31 18:03:15 +01:00
themode
af3d742b13
Comments for UuidProvider and PlayerProvider
2020-10-31 13:30:11 +01:00
themode
c4f36a9cea
Cleanup + comments
2020-10-31 05:09:30 +01:00
themode
2e4a2f57cf
Cleanup and catch some NPE
2020-10-31 04:38:53 +01:00
themode
00ce2be258
Fixed shared instances tick being called 2 times
2020-10-31 02:55:55 +01:00
themode
4375a8734d
Add comment to signal how to make a "null" ItemStack
2020-10-31 01:41:46 +01:00
themode
f328a9cb2b
Added a few constructors to specify the instance directly
2020-10-31 01:38:57 +01:00
themode
f91f7abb26
Unsafe methods should be called unsafe.
2020-10-31 01:02:54 +01:00
themode
a6939b3695
Only send chunks if required
2020-10-31 00:23:52 +01:00
themode
f334df0028
Chunk#UNSAFE_setBlock can have a custom block id sets to 0
2020-10-30 22:49:57 +01:00
themode
6d29f955e4
More comments for the command API, Arguments methods are NotNull since id should not be decided at runtime
2020-10-30 18:43:14 +01:00
Nathan M
10eba951fd
Fix Armor Stand Metadata
2020-10-30 03:30:33 -04:00
themode
872dccd7ce
Small cleanup
2020-10-29 22:52:07 +01:00
themode
c887392a91
CommandDispatcher comments for maintenance purpose and fixed all code warnings
2020-10-29 19:51:10 +01:00
themode
384df073a8
Fixed synchronization issue when adding/removing scheduled tasks
2020-10-29 19:20:25 +01:00
themode
c8d1a30486
Improved Argument comments
2020-10-29 17:27:40 +01:00
jglrxavpok
47eb0084eb
Start of tree-based classloading
2020-10-28 16:24:29 +01:00
LeoDog896
75f8396d32
Expose ArgumentWord restrictions as protected
2020-10-28 11:09:40 -04:00
themode
617d3cc89f
Removed check for manager getters
2020-10-28 13:19:34 +01:00
themode
fb098fe4f9
Command arguments can be null
2020-10-28 02:42:40 +01:00
themode
907b10604b
Fixed arguments values not being forwarded
2020-10-28 01:55:44 +01:00
themode
c3cfad22fc
dispatcher will find the correct syntax with the most arguments count
2020-10-28 01:29:05 +01:00
themode
5092aa637f
Fix command with less than 2 arguments
2020-10-28 01:24:50 +01:00
themode
57e33c63a0
Allowing shared arguments being instanced multiple times
2020-10-28 01:14:05 +01:00
themode
d49ddc52b6
Nodes in command can now be shared with each other
2020-10-28 01:02:12 +01:00
themode
758c132645
Make the player display name nullable
2020-10-27 12:45:37 +01:00
themode
972da0e5ae
Added warning for ConnectionManager#addPlayerInitialization to prevent calling too early code
2020-10-27 01:53:56 +01:00
themode
b890c8152a
Fixed PURPLE and PINK colors
2020-10-27 01:43:31 +01:00
jglrxavpok
7211546d21
Merge branch 'codegen-rewrite'
2020-10-26 22:56:16 +01:00
jglrxavpok
48670e8c37
ItemEnumGenerator converted to Javapoet and re-generation of everything
2020-10-26 22:51:12 +01:00
jglrxavpok
6577c6070c
BlockEnumGenerator converted to Javapoet
2020-10-26 21:50:10 +01:00
themode
a7d23bfa50
Added more click types + fix inventory click cancel
2020-10-26 20:46:22 +01:00
themode
0337fff50f
Fixed shift click ignoring canceled events
2020-10-26 19:31:25 +01:00
themode
3fe58b6b20
Inventories are now DataContainer
2020-10-26 19:14:50 +01:00
themode
bd620a2241
Remove unnecessary packet copy + more annotations
2020-10-26 16:08:59 +01:00
jglrxavpok
2133e09527
Convert basic enum generators to JavaPoet, Block.java generation ported, but not block alternative classes yet
2020-10-26 15:50:52 +01:00
themode
113f4fcdb3
Annotations for all chat components to prevent client json exception
2020-10-26 15:42:45 +01:00
themode
44c912d7ec
Prevent retrieving null managers before their initialization and added annotations in ConnectionManager
2020-10-26 15:15:56 +01:00
themode
06f2ed6065
Use the Contract annotation to prevent useless NPE warnings
2020-10-26 13:57:02 +01:00
themode
8b99fb6f09
Added Player#playSound for custom sounds identifier (from resourcepack)
2020-10-26 11:18:44 +01:00
themode
322acca51e
Assigning a data key to null will remove the key
2020-10-26 01:47:41 +01:00
themode
91301102d3
Added proper exception in SerializableDataImpl if an issue happens with the type
2020-10-26 01:38:22 +01:00
themode
e621069cc5
More comments for the data API
2020-10-26 01:30:32 +01:00
TheMode
6a6e359529
Merge pull request #61 from DigitalJokerMan/change-default-stacking-rule
...
Changed DEFAULT_STACKING_RULE's maxSize from 127 to 64
2020-10-25 22:21:26 +01:00
themode
ea80d56bd0
Small packet cleanup, removed LevelType, new RawJsonMessage
2020-10-25 22:19:27 +01:00
Alex K
6070d002d9
Changed DEFAULT_STACKING_RULE's maxSize from 127 to 64
2020-10-25 14:44:40 -06:00
jglrxavpok
35f7b27135
Comment to remember to fix extension dependency resolution in case we keep separate classloaders for extensions
2020-10-25 20:32:50 +01:00
jglrxavpok
66e85f166e
Fix load order
2020-10-25 20:27:34 +01:00
jglrxavpok
6df285723a
Load extension dependencies
2020-10-25 19:58:19 +01:00
jglrxavpok
e474640687
Update discovered extension status when an extension-dependency is not found
2020-10-25 18:03:28 +01:00
jglrxavpok
31114415cf
Start port codegen over to Javapoet
2020-10-25 17:54:10 +01:00
themode
8346bb85ed
@NotNull for ClientPacket#read
2020-10-25 17:02:07 +01:00
themode
1b7613d977
Allow for custom chunk/entity view distance and compression threshold without recompiling the server.
2020-10-25 16:48:14 +01:00
Articdive
0167a8f9ef
Add extension intra-dependency (hopefully)
2020-10-25 16:45:28 +01:00
themode
424e99e2d8
Use the server brand name as the motd in case of a legacy ping
2020-10-25 15:32:19 +01:00
themode
a8796382b7
Clear cache of viewed boss bars and advancement tabs once the player disconnect
2020-10-25 12:28:06 +01:00
jglrxavpok
aac18a19f9
Test to avoid regression errors on '.' and '/' in NamespaceID paths
2020-10-25 11:32:15 +01:00
Articdive
5217964259
Cleanup and improve extension changes.
2020-10-25 10:41:51 +01:00
themode
0c96de75ef
Fix namespace regex for path
2020-10-25 00:00:32 +02:00
themode
df28d25685
Allow for JsonMessage in packets
2020-10-24 23:28:43 +02:00
themode
26e8dae452
Use JsonMessage in WrittenBookMeta
2020-10-24 23:16:39 +02:00
jglrxavpok
535e8946b6
Extensions can declare Maven dependencies which will be auto-downloaded
2020-10-24 22:57:38 +02:00
themode
fa0f9c8fa2
Annotations for the storage api
2020-10-24 20:49:39 +02:00
themode
b511c12129
Added comments to facilitate custom implementation of Instance
2020-10-24 20:11:26 +02:00
themode
bd8df8bd5e
Fixed AdvancementTab#getTabs annotation
2020-10-24 19:41:26 +02:00
themode
cb28fdc208
Annotations for data & command
2020-10-24 16:58:27 +02:00
themode
27e0b86cb5
Added annotations for all events
2020-10-24 16:33:13 +02:00
themode
2f21a7c233
More annotations.
2020-10-24 11:19:54 +02:00
TheMode
29df8f5b39
Merge pull request #60 from Minestom/extension-naming
...
Cleanup and ensure extensions have valid names.
2020-10-24 10:47:50 +02:00
themode
3d96b7a4b4
A lot of annotations a bit everywhere.
2020-10-24 10:46:23 +02:00
Articdive
6bb7186b3f
Cleanup and ensure extensions have valid names.
2020-10-24 10:45:27 +02:00
themode
3e59c9d396
Added IChunkLoader#saveChunks with a default implementation
2020-10-24 09:34:19 +02:00
themode
4ddfc88d43
Added info about the read-only field and renamed #getFreshPacket to #createFreshPacket
2020-10-24 00:25:37 +02:00
themode
fb26ec0f0b
Added Chunk#setReadOnly and Chunk#isReadOnly
2020-10-24 00:17:23 +02:00
themode
86d6092547
Hide PlayerConnection#enableCompression into NettyPlayerConnection
2020-10-24 00:05:22 +02:00
themode
70e047e6ee
Added buffer length check in DynamicChunk#readChunk
2020-10-23 23:55:42 +02:00
themode
d2eff4abbc
Replaced the queue by an ArrayDeque
2020-10-22 23:31:09 +02:00
themode
1c28272cb7
Use of a queue instead of an ArrayList
2020-10-22 23:18:34 +02:00
themode
3665241e94
Added OptionalCallback for convenience
2020-10-22 22:55:40 +02:00
themode
40516d17a9
Removed try-catch in DynamicChunk and track manipulation of the buffer to prevent synchronization issue
2020-10-22 22:44:52 +02:00
themode
560abf0df8
Added buffer length check in DynamicChunk#readChunk
2020-10-22 22:31:25 +02:00
themode
3db964f817
Removes debug #clone print
2020-10-22 19:22:58 +02:00
themode
34e7bfe69d
Reduces the number of ItemStack#clone calls in inventory clicks
2020-10-22 19:18:08 +02:00
themode
419541b878
UpdateManager comments + synchronization fix
2020-10-22 15:57:27 +02:00
themode
3cb880cf80
General cleanup
2020-10-22 12:55:53 +02:00
themode
47677766ca
Improvement for the DamageType code
2020-10-22 12:21:50 +02:00
themode
c7f8ae7536
Added constructor comments in ColoredText and RichMessage
2020-10-22 09:10:14 +02:00
themode
f72dce3a46
More comments for message related classes
2020-10-21 16:26:55 +02:00
themode
ddc5da4415
More explanations for JsonMessage#toString
2020-10-21 16:08:33 +02:00
themode
618c2b5b17
BossBar fix
2020-10-19 12:52:25 +02:00
themode
b2e3d3e78d
Use negative entity id for the custom breaking system
2020-10-19 11:56:26 +02:00
TheMode
32d13dcbd1
Added format version in the chunk serialized output
...
Signed-off-by: TheMode <themode@outlook.fr>
2020-10-18 21:51:49 +02:00
jglrxavpok
26ce63763a
Validity checks on NamespaceIDs
2020-10-18 18:27:57 +02:00
themode
19ab2cbd50
Comments for MinecraftServer
2020-10-17 16:54:35 +02:00
themode
c130fb6144
Added getter for ExtensionManager
2020-10-17 16:30:37 +02:00
themode
523b883959
Added Player#sendTitleTime and comments relating to titles.
2020-10-17 14:46:14 +02:00
themode
ac362cf7ac
Explanation for ResponseDataConsumer ang general comment cleanup
2020-10-17 13:24:18 +02:00
themode
3e4ccbe75a
Usage sample for every Argument
2020-10-17 11:29:05 +02:00
themode
6217280466
Added ArgumentNbtCompoundTag and ArgumentNbtTag
2020-10-17 08:18:52 +02:00
themode
e1093769e5
Added potion color + fix clone/similar
2020-10-16 16:47:03 +02:00
themode
0b6a063311
Added support for CustomPotionEffect in PotionMeta
2020-10-16 16:32:57 +02:00
themode
512b30e9df
Added ArgumentItemStack
2020-10-16 14:31:15 +02:00
jglrxavpok
8561e0cddc
Fix exception when reading compass with no lodestone linked to it
2020-10-16 12:39:17 +02:00
jglrxavpok
dd0f2ea293
Fix exception when reading map decoration with no position
2020-10-16 12:35:17 +02:00
themode
5b0b55b682
Added chorus fruit as food
2020-10-16 11:44:31 +02:00
themode
fbe4126021
Added Player#chat to simulate chat message
2020-10-16 11:37:00 +02:00
themode
9e2e48f79c
Fix bug when you could send a break a custom block with a finished digging packet
2020-10-16 09:12:31 +02:00
themode
660a67e53e
English fix
2020-10-15 21:16:31 +02:00
themode
59b03bf9ec
Detailed explanation of Argument, and basic comments for CommandSyntax
2020-10-15 15:19:07 +02:00
themode
8d21352d5f
CommandDispatcher internal comments
2020-10-15 14:36:21 +02:00
themode
bd3335ae1d
General cleanup
2020-10-15 08:48:13 +02:00
themode
74e37e681b
Added Chunk#setEnableCachePacket to improve memory usage when needed
2020-10-15 08:21:13 +02:00
themode
50326b676c
Added PotionEffect
2020-10-15 05:29:48 +02:00
themode
3663a292f1
Comments for the inventories classes
2020-10-14 16:41:36 +02:00
themode
bf0ec9f133
Added ItemStack#setMaterial and information about automatic refresh
2020-10-14 16:33:32 +02:00
themode
352874d935
Remove debug message when enabling mojang auth
2020-10-13 19:06:29 +02:00
themode
6e954082e1
Map API cleanup
2020-10-13 16:50:03 +02:00
themode
0e5831cdc3
Cleanup + typo fix
2020-10-13 12:49:29 +02:00
themode
a273c0fd02
Comments for batches
2020-10-13 05:40:23 +02:00
themode
f62117dbe0
Info related to chunk load/unload signal, required to create an instance implementation
2020-10-13 04:31:03 +02:00
themode
f1dccfacc3
Fixed instance ticks not being executed if the chunk list is empty
2020-10-13 04:10:37 +02:00
themode
740b0bbf45
Comments for BlockPosition constructors + cleanup
2020-10-12 17:07:22 +02:00
themode
4d78677a0a
Comments for BlockModifier
2020-10-12 17:00:43 +02:00
themode
5ea2f960a5
Comment for SharedInstance#getInstanceContainer
2020-10-12 16:53:51 +02:00
themode
81c6f97336
Comments
2020-10-12 06:41:47 +02:00
themode
9184b3054f
Fix the first #setInstance being called in the main update thread
2020-10-12 04:14:06 +02:00
themode
88ef4eb3c0
Comments
2020-10-12 03:18:02 +02:00
themode
cbe2a0b71e
Comments
2020-10-12 02:56:30 +02:00
themode
af1f976e53
Comments
2020-10-11 18:57:24 +02:00
themode
5f7261cd6e
Comments
2020-10-11 18:35:32 +02:00
themode
8badd5bb4d
Fix invalid javadoc format
2020-10-11 17:05:02 +02:00
themode
551bd42b48
Moved the demo server to the test directory
2020-10-11 16:02:26 +02:00
themode
e783d33767
Fix comment typo in Command
2020-10-11 15:42:22 +02:00
themode
ad7e526597
Fix concurrency exception in AdvancementManager
2020-10-11 15:36:25 +02:00
themode
f2004f1ecd
More comments for the command API
2020-10-11 15:27:23 +02:00
themode
d2d0fd33d8
More comments for the advancement API
2020-10-11 14:58:19 +02:00
themode
284c5bf052
Fix synchronization issue with instance scheduled tasks
2020-10-11 03:37:44 +02:00
themode
7fc8aff38d
Fix the chunk load event and callback not being called in the correct thread
2020-10-10 14:39:56 +02:00
themode
739c3f1d7d
Allow non-custom block in PlayerStartDiggingEvent
2020-10-10 13:46:41 +02:00
themode
98ac2d9717
Clarification for Chunk#readChunk which do not guarantee the reading time
2020-10-10 09:05:38 +02:00
themode
df37e2f81d
DynamicChunk now uses schedulers when reading binary chunk data
2020-10-10 09:02:24 +02:00
themode
c78ee500e8
Made MinestomBasicChunkLoader requires an InstanceContainer to be dynamic and simplify custom chunk implementation
2020-10-10 08:45:26 +02:00
themode
b118fc717b
Cleanup
2020-10-10 06:07:28 +02:00
themode
1712ebd151
chunkSupplier needs to give non-null chunks
2020-10-10 05:54:07 +02:00
themode
3c2805790a
Merge remote-tracking branch 'origin/master'
2020-10-10 05:51:05 +02:00
themode
2fa375f9d6
Added ChunkSupplier to allow custom chunk implementation loading and Chunk#shouldGenerate to allow chunks not affected by the chunk generator
2020-10-10 05:50:49 +02:00
TheMode
4a96ef6224
Use Map instead of List to store tasks
2020-10-09 06:08:27 +02:00
themode
28332cd09d
Command comments
2020-10-08 01:28:40 +02:00
themode
af369dedde
Added Command global listener
2020-10-08 01:21:15 +02:00
themode
ec33478cc3
Remove hardcore bit in JoinGamePacket
2020-10-07 22:26:26 +02:00
themode
f811f1efef
Comments cleanup
2020-10-06 21:03:00 +02:00
themode
d03354fe24
Made Chunk#setBlockData public
2020-10-06 07:54:19 +02:00
themode
abbb2fde01
Fix RichMessage javadoc
2020-10-06 07:46:07 +02:00
themode
dd3345ff9a
ColoredText comments + cleanup
2020-10-06 07:41:35 +02:00
themode
a757f4b97b
Simplify EventHandler implementation
2020-10-06 04:06:59 +02:00
themode
37d3c9c6bc
Allow for custom chat message serializer using JsonMessage
2020-10-06 03:43:57 +02:00
themode
67c93e73ab
Remove useless method
2020-10-05 10:20:25 +02:00
themode
04498ed0f0
Chunk code cleanup & optimization
2020-10-05 10:03:25 +02:00
themode
5b26031a92
Comments for BoundingBox
2020-10-05 03:59:47 +02:00
themode
f79a024dc1
Renamed Chunk#setBlock to Chunk#UNSAFE_setBlock for reliability and security purpose
2020-10-05 02:03:08 +02:00
themode
857d3f0c6e
Added ItemStack#getAttribute
2020-10-05 01:46:02 +02:00
themode
4eb09e70e7
Comments for Instance, facilitating future implementations
2020-10-04 23:33:36 +02:00
themode
683415e75e
Fixed item attributes not showing in-game
2020-10-04 03:04:51 +02:00
themode
39a9e5531d
renamed the block batch pool field
2020-10-03 22:07:21 +02:00
themode
db90b5e22d
Comments improvement
2020-10-03 19:07:23 +02:00
themode
6758cadf7d
Chunk is now a DataContainer
2020-10-03 18:51:33 +02:00
themode
f85e7ca4a9
Merge remote-tracking branch 'origin/master'
2020-10-03 03:45:22 +02:00
themode
690c7d5ff1
SerializableDataImpl comment fix
2020-10-03 03:45:11 +02:00
TheMode
59503a0acc
Merge pull request #59 from Minestom/recipe-updates
...
Update Recipe code, add abstraction for different recipe packet types.
2020-10-02 18:23:48 +02:00
Articdive
e3b8d1fb87
Remove final from DeclaredRecipes
2020-10-02 18:24:28 +02:00
Articdive
64ee739e1f
Update Recipe code, add abstraction for different recipe packet types.
2020-10-02 18:18:04 +02:00
themode
2218299931
Simplify the SerializableData interface
2020-10-02 08:18:36 +02:00
themode
0f71b4c9d4
Clarifications for SerializableData
2020-10-02 04:26:10 +02:00
themode
a7163c8d1c
Some clarifications with the storage classes
2020-10-02 04:12:59 +02:00
themode
fcccef2bd1
Small inventory optimization
2020-10-02 03:54:59 +02:00
themode
5d6145bb20
InstanceContainer#setBlock should load chunks automatically if Instance#hasEnabledAutoChunkLoad returns true
2020-10-01 19:57:19 +02:00
themode
51530b8c61
Merge remote-tracking branch 'origin/master'
2020-10-01 17:54:44 +02:00
themode
271b56aa4c
exception when the chunk is not loaded in Instance#setBlock
2020-10-01 17:54:31 +02:00
TheMode
ef5c57f6da
Merge pull request #58 from Minestom/syntax-enums
...
Final for enums and some annotations.
2020-09-29 21:59:03 +02:00
Articdive
29c6d92bdc
Final for enums and some annotations.
2020-09-29 21:45:16 +02:00
themode
e96aebaaba
Fix client digging packet parsing
2020-09-28 18:27:28 +02:00
themode
af9851c334
Allow registering instance extending Instance and not necessary InstanceContainer
2020-09-28 02:29:41 +02:00
themode
aea788cd64
Better comments
2020-09-28 00:04:55 +02:00
themode
5a9250b236
Added Instance#getEntities
2020-09-28 00:02:37 +02:00
themode
d704d7dae6
Removed useless storage location check in MinestomBasicChunkLoader
2020-09-27 22:30:59 +02:00
themode
b294ae73e4
Do not force a non-null storage location for chunks saving
2020-09-27 21:18:19 +02:00
themode
09582cffc1
Comments for IChunkLoader specifying when to execute the callbacks
2020-09-27 20:48:12 +02:00
themode
d43ba6a395
Comments for MinestomBasicChunkLoader
2020-09-27 20:45:46 +02:00
themode
45cc1dd2c7
Made InstanceManager#unregisterInstance thread-safe
2020-09-27 19:04:08 +02:00
themode
670887f7b3
Added InstanceManager#unregisterInstance
2020-09-27 19:02:05 +02:00
Eoghanmc22
5ff56212a2
Merge branch 'master' of https://github.com/Minestom/Minestom
2020-09-26 16:06:20 -04:00
Eoghanmc22
ae44fa124d
Fix teleports
2020-09-26 16:03:51 -04:00
themode
3464d27ab1
Added entity in EntitySpawnEvent
2020-09-26 21:24:10 +02:00
themode
c3b1e88b83
Re-fix the breaking of a block just below the player
2020-09-26 19:43:28 +02:00
themode
ce81c3a85d
Fix position issue when cancelling the breaking of a block just below the player
2020-09-25 21:50:50 +02:00
Articdive
e65fa060ba
Get the server JAR for assets directly from Mojang.
...
No longer require installed MC to get the server JAR.
2020-09-25 18:39:43 +02:00
themode
5620e9a8cf
Cleanup
2020-09-24 01:50:25 +02:00
themode
2a9adfc751
New banner
2020-09-24 01:03:13 +02:00
jglrxavpok
988f2c1b46
id is back to being final
2020-09-23 22:34:12 +02:00
jglrxavpok
7ad2cd89c2
id is back to being final, added custom getId method
2020-09-23 22:33:52 +02:00
jglrxavpok
3073f2f52f
Make main method accessible to Bootstrap
2020-09-23 22:21:31 +02:00
themode
6ffc9c2eef
Merge remote-tracking branch 'origin/master'
2020-09-23 22:14:54 +02:00
themode
cd521d4c19
Fix teleport in the PlayerMoveEvent
2020-09-23 22:14:43 +02:00
jglrxavpok
7083f15676
Biome ID is no longer final (vanilla reimpl will use mixins to modify it)
2020-09-23 22:07:23 +02:00
themode
8c623072f3
Calling an entity event will now also trigger it for the instance (useful for instance-specific listeners)
2020-09-23 22:01:47 +02:00
jglrxavpok
3f1b2fb84d
Prismarine paths are exposed via public getters
2020-09-23 21:50:37 +02:00
jglrxavpok
4079d8e746
Export codegen feature + correct javadoc
2020-09-23 21:21:21 +02:00
themode
890cfe4622
Removed the reader classes, deplaced them into SerializableData and Chunk respectively. It allows for developers to make their own deserialization AND serialization implementation
2020-09-23 21:08:36 +02:00
Articdive
441e5eb577
Add more recipe types and support for Smithing.
2020-09-23 15:53:36 +02:00
themode
9a567811c7
Cache invalid version text and add clarification to the version which should be used
2020-09-23 15:44:52 +02:00
themode
dc8f885aff
Added an unsafe way to flush a ChunkBatch
2020-09-23 01:53:36 +02:00
themode
ea9cd655c6
Removed unnecessary data synchronization
2020-09-23 01:41:40 +02:00
themode
403e0c897f
Added EventHandler#getEventCallbacks
2020-09-20 20:11:46 +02:00
jglrxavpok
b6fc3ee978
Publish with Javadoc & Sources
2020-09-20 15:04:07 +02:00
jglrxavpok
99c48c8ee1
Cave air and void air must be classified as air
2020-09-20 14:54:03 +02:00
themode
1261974420
Added Player#getExp and Player#getLevel
2020-09-20 00:27:29 +02:00
themode
4c93450520
Added more Instance comments
2020-09-19 19:06:21 +02:00
themode
c43064c3a0
Replaced chunk consumers by ChunkCallback and fixed chunk callbacks being called in the block pool when in a batch
2020-09-19 18:35:00 +02:00
themode
d80c2e0658
Fix BossBar#addViewer for the first player boss bar
2020-09-19 18:13:00 +02:00
themode
e6f66b9816
Fix javadoc generation for DimensionType
2020-09-19 16:16:56 +02:00
themode
18c7a61f89
Remove useless math methods
2020-09-16 01:33:37 +02:00
Eoghanmc22
7ccd40d0f7
Fix Check
2020-09-14 18:29:07 -04:00
Eoghanmc22
8bbd62a3ed
Fix NPE in extension loader
2020-09-14 18:17:15 -04:00
TheMode
64bb92a295
Merge pull request #53 from Minestom/extension-improvement
...
Improve Extension Logging & Description
2020-09-13 14:49:39 +02:00
themode
daaa126a1f
More clarification with CustomBlock updates
2020-09-12 18:44:52 +02:00
themode
5d733fa6e9
Chunk cleanup (removed useless methods)
2020-09-12 12:45:37 +02:00
themode
0ad2394d16
Merge remote-tracking branch 'origin/master'
2020-09-12 12:15:06 +02:00
themode
3e9fd623dc
Comment for Chunk#setBlock
2020-09-12 12:14:53 +02:00
Articdive
b675104d74
Improve Extension Logging & Description
2020-09-12 08:56:01 +02:00
jglrxavpok
6df42b79cb
Merge branch 'mixin-support'
2020-09-11 21:03:43 +02:00
themode
465d83ae77
Comments for Instance & InstanceContainer
2020-09-11 00:14:17 +02:00
Nesaak
8df7dfe50b
Synchronize chunk in Instance#setBlockData
2020-09-10 17:54:49 -04:00
Nesaak
81c5f957c3
Add Instance#setBlockData
2020-09-10 16:14:39 -04:00
Eoghanmc22
952668efc0
1.16.3
2020-09-10 15:27:02 -04:00
themode
6c4b9e0833
Added Player#isSprinting, Player#isSneaking and some cleanup related to last damage source + LivingEntity#isInvulnerable
2020-09-10 21:23:59 +02:00
themode
3473ccfb41
Use an array instead of a map for block state id -> block conversion
2020-09-08 17:02:07 +02:00
themode
1525d81852
Comments for BlockPlacementRule
2020-09-08 15:57:06 +02:00
themode
2f5af27211
Little optimization with block placement rule lookup
2020-09-08 15:49:27 +02:00
Nesaak
1f078ed011
Make placementRules in BlockManager an array & add comments for methods
2020-09-08 09:45:36 -04:00
Nesaak
e39e692cde
Use an array to store custom block id's in BlockManager for faster lookups
2020-09-08 09:28:54 -04:00
themode
d3d3e73eef
Fix synchronization issue with chunk
2020-09-07 19:14:42 +02:00
themode
e2940c9aee
Renamed CustomBlock#getBlockStateId to CustomBlock#getDefaultBlockStateId
2020-09-06 03:15:00 +02:00
themode
7b93881e59
Made DamageType a DataContainer
2020-09-05 16:45:33 +02:00
themode
cb52a9d119
PerGroupChunkProvider cleanup
2020-09-03 20:52:21 +02:00
themode
f9fcfb6009
Merge remote-tracking branch 'origin/master'
2020-09-03 17:26:50 +02:00
themode
4c00e02091
ChunkUtils#getBlockIndex comments about short casting
2020-09-03 17:26:38 +02:00
Nesaak
7f671d0dc9
Rename some old StorageFolder messages & comments
2020-09-02 19:11:54 -04:00
Nesaak
e465b01f66
Add Entity#getChunk convenience method
2020-09-02 18:43:42 -04:00
themode
4b8ab2e55e
Made Chunk#getSerializedData public
2020-09-03 00:04:10 +02:00
themode
181c2b2b1b
Added warning to the DynamicChunk protected arrays
2020-09-02 23:54:19 +02:00
Nesaak
ab54ed92a4
Change access of id arrays in DynamicChunk to protected
2020-09-02 17:49:25 -04:00
themode
89d419c949
small optimization with chunk serialization
2020-09-02 22:52:17 +02:00
TheMode
58fa4cff1e
Merge pull request #46 from Nesaak/master
...
Use block index in chunk serialization
2020-09-02 22:37:30 +02:00
Nesaak
574ebf9cf4
Use block index in chunk serialization
2020-09-02 16:18:46 -04:00
Eoghanmc22
66428fb90f
Accidentally remade a method that already existed
2020-09-02 16:01:33 -04:00
Eoghanmc22
0c50164f40
fix MultiBlockChangePacket again and add util method
2020-09-02 15:25:03 -04:00
Eoghanmc22
664546d25d
fix bug in MultiBlockChangePacket
2020-09-02 14:01:51 -04:00
themode
f4665c27e6
Chunk cleanup
2020-09-02 19:34:24 +02:00
themode
925c0a89f6
Comments + utils methods for BinaryWriter
2020-09-02 19:06:11 +02:00
TheMode
74cfc1994d
Merge pull request #45 from Nesaak/master
...
Make Data and SerializableData interfaces
2020-09-02 18:52:56 +02:00
Nesaak
dd66699a20
Make Data and SerializableData interfaces
2020-09-02 12:41:04 -04:00
themode
623a6eb783
The chunk caching method is now thread safe
2020-09-02 18:35:17 +02:00
themode
6e9e6be1fe
Merge remote-tracking branch 'origin/master'
2020-09-02 10:30:14 +02:00
themode
46b772c901
Clarification in IChunkLoader#loadChunk comment
2020-09-02 10:30:03 +02:00
TheMode
cb5a507951
Merge pull request #44 from Nesaak/master
...
Cache default player provider
2020-09-01 23:51:39 +02:00
Nesaak
6fdda546b8
Cache default player provider
2020-09-01 17:43:10 -04:00
themode
f8bbc30435
Added PlayerProvider comment
2020-09-01 23:37:12 +02:00
themode
eff5d0b5e0
Added PlayerProvider
2020-09-01 23:35:14 +02:00
themode
e484e4a4d6
Updated Hydrazine to 1.4.2
2020-09-01 21:16:07 +02:00
themode
78dd2cb005
Fix tick update for SharedInstance
2020-09-01 20:20:46 +02:00
themode
d4d5ac873f
Renamed StorageFolder to StorageLocation
2020-08-31 00:41:19 +02:00
Nesaak
28347102be
Make DimensionType builder public
2020-08-30 17:49:16 -04:00
Nesaak
d80c920ac7
Fix demo chunk generators
2020-08-30 16:35:32 -04:00
Nesaak
77e52c2cbe
Make ChunkGenerator an interface
2020-08-30 16:28:05 -04:00
Nesaak
8a20ef4964
Fixed minor typo in InstanceContainer
2020-08-30 16:04:41 -04:00
themode
588b1f9c6d
A few comments
2020-08-30 21:42:21 +02:00
themode
38dbaecb8f
SerializableData data types can now be indexed
2020-08-29 22:21:45 +02:00
themode
672887807a
Cleanup chunks sending
2020-08-25 20:55:40 +02:00
jglrxavpok
b7b95e0ebe
Fixed respawn button disconnecting the client
2020-08-25 16:07:19 +02:00
jglrxavpok
21b48fe291
Wired Mixin phases with Minestom initialization
2020-08-25 15:44:17 +02:00
jglrxavpok
c3c2b0a34c
Loading mixins from extensions
2020-08-23 23:27:53 +02:00
jglrxavpok
26b8ad125e
Very basic Mixin support
2020-08-23 22:38:27 +02:00
Eoghanmc22
f26501c5fa
Merge remote-tracking branch 'origin/master'
2020-08-21 13:48:29 -04:00
Eoghanmc22
a658a96a61
Fix ResourceGatherer bug for win 10
2020-08-21 13:47:55 -04:00
themode
ebb1b1607d
Do not compute target block stage increase each tick
2020-08-21 16:09:26 +02:00
themode
6a66757c7a
WIP MAX_PACKET_SIZE
2020-08-21 13:29:05 +02:00
themode
7ea06cc70b
PacketUtils improvement with initial capacity packet + optimize the ChunkDataPacket
2020-08-21 13:16:44 +02:00
themode
f2222cfaf2
Allow negative break delay to skip stages
2020-08-21 12:52:29 +02:00
jglrxavpok
223af361d8
Code modifiers and test extension
2020-08-21 01:32:59 +02:00
themode
6b778f425a
Cleanup
2020-08-20 19:06:55 +02:00
Eoghanmc22
56cace9402
improve test gen
2020-08-20 12:39:09 -04:00
Eoghanmc22
c16b716350
Merge branch 'master' of https://github.com/Minestom/Minestom
...
Conflicts:
src/main/java/fr/themode/demo/PlayerInit.java
src/main/java/fr/themode/demo/generator/NoiseTestGenerator.java
src/main/java/net/minestom/server/utils/chunk/ChunkUtils.java
2020-08-20 12:22:40 -04:00
Eoghanmc22
d37656ebe5
fix respawn packet
2020-08-20 12:18:36 -04:00
themode
6c6f470b24
Optimize BiomeManager storage
2020-08-20 14:41:11 +02:00
themode
f560f4cb0b
Use tick instead of ms to compute break time
2020-08-20 14:01:00 +02:00
themode
5b394e5bf7
Rewrite of the CustomBlock break delay system + support for multi player digging
2020-08-20 02:42:27 +02:00
jglrxavpok
164719090a
(WIP) Support for runtime code modification
2020-08-20 02:06:58 +02:00
themode
b8c30d9b58
Cleanup
2020-08-19 20:47:53 +02:00
themode
c85e866e3c
Fixed BinaryWriter#writeNBT
2020-08-19 20:35:22 +02:00
themode
571bb7a866
Renamed PacketWriter/Reader to BinaryWriter/Reader + optimization to serializing
2020-08-19 20:34:21 +02:00
themode
65db4a48b4
Cleanup
2020-08-19 16:19:18 +02:00
themode
bed09d397a
Merge remote-tracking branch 'origin/master'
2020-08-19 01:51:34 +02:00
themode
c1f520143b
Use chunk size constant instead of magic values
2020-08-19 01:51:22 +02:00
Eoghanmc22
51f8520a1f
Merge pull request #39 from Minestom/extensions
...
Add support for Extensions.
2020-08-18 19:26:03 -04:00
themode
8b30caa8c8
Micro optimization + cleanup
2020-08-19 01:24:51 +02:00
Articdive
846b668c1b
Rename plugins to Extensions and add basic support.
2020-08-18 14:18:12 +02:00
Eoghanmc22
efbe80a748
structure gen test.
2020-08-17 21:11:48 -04:00
themode
c5172a7275
WIP ItemStack#getCustomDisplay
2020-08-18 02:16:30 +02:00
themode
84b74eb45f
Cache pathfinder block data
2020-08-17 21:07:37 +02:00
themode
ebaa2ad1a5
Update pathfinder when a block is removed
2020-08-17 20:52:35 +02:00
themode
e5e1d1614b
Optimize chunk index to coordinate conversion + made the chunk map in InstanceContainer using long primitive but non-concurrent, requiring synchronization
2020-08-17 16:50:23 +02:00
themode
97a1141583
Replaced player viewableChunks set interaction to the Chunk class (Viewable support)
2020-08-16 19:18:34 +02:00
Felix Cravic
737cf24ace
Stop hardcoding version name
2020-08-16 10:57:27 +02:00
Eoghanmc22
414fb06407
1.16.2 enums
2020-08-15 20:59:09 -04:00
Felix Cravic
caa89dd2f8
Chunk update
2020-08-16 00:53:42 +02:00
Eoghanmc22
a7484f8644
Fix npes
2020-08-15 18:01:10 -04:00
Eoghanmc22
1094fd4931
Fix npe
2020-08-15 10:08:54 -04:00
Eoghanmc22
4843440391
Merge branch '1.16.2' of https://github.com/Minestom/Minestom
2020-08-15 10:06:13 -04:00
Eoghanmc22
1798b50092
Merge branch 'master' of https://github.com/Minestom/Minestom
...
Conflicts:
src/main/java/net/minestom/server/MinecraftServer.java
src/main/java/net/minestom/server/instance/MinestomBasicChunkLoader.java
2020-08-15 10:06:01 -04:00
Felix Cravic
84d1f1bdaa
Merge remote-tracking branch 'origin/1.16.2' into 1.16.2
2020-08-15 16:05:01 +02:00
Felix Cravic
6e7b4ebb9f
Changed version in server list
2020-08-15 16:04:50 +02:00
Eoghanmc22
448a26a7d8
add support for static chunks
2020-08-15 10:01:47 -04:00
Eoghanmc22
284613a1a8
fix merge
2020-08-15 10:00:50 -04:00
Felix Cravic
ab86400e80
Fix Player#sendPluginMessage
2020-08-15 13:42:27 +02:00
Felix Cravic
939d06cfb5
Added Player#sendPluginMessage
2020-08-15 13:38:57 +02:00
Felix Cravic
92f914ef2d
Cleanup
2020-08-15 13:32:36 +02:00
Felix Cravic
b716d8a47a
Comments + cleanup
2020-08-15 04:05:15 +02:00
Eoghanmc22
1b7641c0e1
Merge branches '1.16.2' and 'master' of https://github.com/Minestom/Minestom
...
Conflicts:
src/main/java/net/minestom/server/UpdateManager.java
src/main/java/net/minestom/server/thread/PerGroupChunkProvider.java
src/main/java/net/minestom/server/thread/PerInstanceThreadProvider.java
2020-08-14 20:52:34 -04:00
Felix Cravic
0d4689a367
Optimize thread providers
2020-08-15 01:18:49 +02:00
Felix Cravic
1d047b5de3
Removed useless synchronization
2020-08-14 15:24:57 +02:00
Felix Cravic
0dd454985f
Added list initial capacity
2020-08-14 15:15:16 +02:00
Eoghanmc22
d12618af0f
Fix concurrent modify exception.
2020-08-13 18:50:57 -04:00
Eoghanmc22
cc01a48cf1
Minestom now properly adapts when a player changes their render distance, also fixed a bug that pointers to chunks that were unloaded were kept in the viewableChunks list until the player's instance was changed.
2020-08-13 17:54:55 -04:00
Eoghanmc22
d2f6c08c4e
Merge branch 'master' of https://github.com/Minestom/Minestom
2020-08-13 17:25:59 -04:00
Eoghanmc22
74c99e8886
Fix glitchy chunk loading when you first login and don't send chunks to a player that are out of the player's render distance.
2020-08-13 17:23:35 -04:00
Eoghanmc22
94279e2dbf
Merge branch 'master' of https://github.com/Minestom/Minestom
2020-08-13 14:51:40 -04:00
Eoghanmc22
d66d87ed97
Rate Limiting fixes
2020-08-13 14:51:01 -04:00
Felix Cravic
2b529e05d0
Fixed error with unloaded chunks
2020-08-13 20:43:45 +02:00
Felix Cravic
3c64def9f9
Updated Hydrazine
2020-08-13 20:24:40 +02:00
Eoghanmc22
8ecb90f359
Rate Limiting
2020-08-13 13:52:59 -04:00
Felix Cravic
ef28720496
Call InventoryPreClickEvent even without any inventory condition
2020-08-13 19:14:07 +02:00
Felix Cravic
23e82e0ae2
Added ItemStack#onInventoryClick
2020-08-13 19:12:16 +02:00
Felix Cravic
975bdcf3ed
Merge remote-tracking branch 'origin/master'
2020-08-13 19:00:52 +02:00
Felix Cravic
f3414224fe
Added ItemStack callbacks for interactions
2020-08-13 19:00:19 +02:00
jglrxavpok
48d967b89f
Use vertically flipped UV in shader
2020-08-13 15:06:49 +02:00
jglrxavpok
b08c1d6898
Post-processing should vertically flip the output
2020-08-13 15:01:43 +02:00
jglrxavpok
c0aec9b8b2
Make GLFWCapableBuffer public for devs to extend if wanted
2020-08-13 13:54:57 +02:00
jglrxavpok
ce509b2bc6
Invalid Javadoc HTML broke the build, oops 2
2020-08-13 13:27:39 +02:00
jglrxavpok
37547930e9
Invalid Javadoc HTML broke the build, oops
2020-08-13 13:23:26 +02:00
Eoghanmc22
542d603d60
1.16.2 support
2020-08-12 21:08:03 -04:00
jglrxavpok
5e16894159
Moved PaletteGenerator outside of demo package and inside core
2020-08-12 22:53:29 +02:00
jglrxavpok
adf34b4742
Drop-in palette lookup post-processing
...
Directly usable for devs
2020-08-12 19:23:28 +02:00
Eoghanmc22
f431674174
Merge branch 'master' of https://github.com/Minestom/Minestom
2020-08-12 13:10:22 -04:00
Eoghanmc22
6259f624f3
starting of 1.16.2 support
2020-08-12 13:08:04 -04:00
Felix Cravic
55b36624cc
Fix local held synchronization
2020-08-12 18:41:14 +02:00
Felix Cravic
91711401c0
Added options for the pathfinder
2020-08-12 13:10:57 +02:00
Felix Cravic
5a6afbbb89
Merge remote-tracking branch 'origin/master'
2020-08-12 07:46:23 +02:00
Felix Cravic
a9aff3e6ef
Remove pathfinder specific thread pool + cleanup
2020-08-12 07:46:07 +02:00
jglrxavpok
7070f46a39
Fixed palette lookup
2020-08-11 23:49:21 +02:00
jglrxavpok
c0a704dc56
Forgot palette
2020-08-11 23:39:10 +02:00
jglrxavpok
e04a4fad02
Fast render with shader color lookup (wrong colors for the moment)
2020-08-11 23:23:14 +02:00
Eoghanmc22
7aaf6a6ec8
Fix ticks
2020-08-10 19:41:14 -04:00
Eoghanmc22
981a1a2fe8
Merge branch 'master' of https://github.com/Minestom/Minestom
2020-08-10 18:50:00 -04:00
jglrxavpok
23f64fec11
fix wrong width & height
2020-08-11 00:41:41 +02:00
jglrxavpok
6856904905
Large framebuffers for more than 128x128 rendering
2020-08-11 00:35:25 +02:00
Eoghanmc22
6896afbf7c
Merge branch 'master' of https://github.com/Minestom/Minestom
2020-08-10 17:31:18 -04:00
Eoghanmc22
a3011594c0
Tick event thing
2020-08-10 17:31:12 -04:00
Eoghanmc22
040ba417bb
Basic plugin support
2020-08-10 17:30:56 -04:00
jglrxavpok
a7139d19b6
Merge branch 'permission-api'
2020-08-10 21:43:15 +02:00
jglrxavpok
d2df5fdc60
Serialization methods
2020-08-10 21:42:54 +02:00
jglrxavpok
6d14e16dac
Moved LWJGL demo code to https://github.com/Minestom/LWJGL-Example
2020-08-10 16:35:19 +02:00
jglrxavpok
214fa4c808
Merge Map API & LWJGL code
2020-08-10 16:32:48 +02:00
jglrxavpok
5533e3f9e7
LWJGL is now an optional dependency (example project to use it incoming)
2020-08-10 14:50:39 +02:00
Felix Cravic
dad8503ee5
Optimize EntityEquipmentPacket
2020-08-10 13:55:06 +02:00
Felix Cravic
c2165abe1f
Added ChunkUtils#isLoaded + optimization of the thread providers
2020-08-10 11:32:03 +02:00
Felix Cravic
13275eb534
Fixed synchronization with unloaded chunks
2020-08-10 08:55:01 +02:00
Felix Cravic
008002f11b
WIP synchronization fix + updated hydrazine
2020-08-10 07:24:43 +02:00
Felix Cravic
644c1d9a71
Added pathfinder thread pool
2020-08-09 21:56:01 +02:00
Felix Cravic
55aeac7530
Add potion meta to all potion types + tipped arrow
2020-08-09 20:30:46 +02:00
Felix Cravic
1a6df8e035
Optimize entity events adding/removing
2020-08-09 17:15:02 +02:00
R0bbyYT
ba07fa78f0
Fixed
2020-08-09 17:10:58 +02:00
R0bbyYT
91de2ee6a2
Merge remote-tracking branch 'origin/feature/scoreboard'
...
# Conflicts:
# src/main/java/net/minestom/server/entity/Player.java
2020-08-09 17:06:35 +02:00
Felix Cravic
e84bcdb0a1
Prevent the instantiation of multiple SchedulerManager
2020-08-09 15:16:05 +02:00
Felix Cravic
1f2451f0b2
Added AdvancementTab#getTabs
2020-08-09 14:13:01 +02:00
Felix Cravic
d3d06e907c
Added BossBar#MAX_BOSSBAR count
2020-08-09 14:02:56 +02:00
Felix Cravic
c7411575ea
Added BossBar#getBossBars
2020-08-09 14:00:56 +02:00
Felix Cravic
63ed21380c
Fixed number arguments
2020-08-09 10:59:12 +02:00
Articdive
bf8c632b32
Fix dolphin bounding-box.
2020-08-09 10:18:23 +02:00
Articdive
f1f3885751
Start Entity abstraction, add some missing entities.
2020-08-09 10:12:44 +02:00
Felix Cravic
67db1d6568
Replaced blockId by blockStateId
2020-08-09 09:55:30 +02:00
Felix Cravic
3e7ce7c1a0
Improved MeleeAttackGoal
2020-08-09 08:20:38 +02:00
Felix Cravic
7b5c6dfc44
Added LastEntityDamagerTarget & LivingEntity#getLastDamageType
2020-08-09 08:16:54 +02:00
Felix Cravic
dcf6bc2082
Fixed synchronization issue with pathfinder
2020-08-09 05:45:26 +02:00
Felix Cravic
08b4b8576e
Added MeleeAttackGoal + fix velocity for players
2020-08-09 05:13:36 +02:00
Felix Cravic
bcca8a67d1
Changed ClosestEntityTarget
2020-08-09 00:30:26 +02:00
TheMode
ac809c4ea6
Merge pull request #34 from Minestom/small-optimizations
...
Small optimizations.
2020-08-09 00:01:17 +02:00
R0bbyYT
141eed466c
Added Scoreboard interface and TabList Scoreboard
2020-08-08 23:22:58 +02:00
jglrxavpok
3144f64b06
Example demonstrates multiple OpenGL contexts possible
2020-08-08 18:35:28 +02:00
Articdive
856d328668
Small optimizations.
2020-08-08 13:41:25 +02:00
R0bbyYT
bbe9cda40b
Renamed BelowNameScoreboard to BelowNameTag
2020-08-08 13:36:15 +02:00
Articdive
e44d5283b4
Create RandomLookAroundGoal
2020-08-08 10:20:36 +02:00
TheMode
4e38b3dfb3
Merge pull request #32 from Minestom/eat-block-goal
...
Create EatBlockGoal
2020-08-07 14:07:43 +02:00
Articdive
36ccf3bcab
Create EatBlockGoal
2020-08-07 13:21:59 +02:00
R0bbyYT
1ad20209d0
BelowNameTag synchronisation, documentation
2020-08-07 12:16:56 +02:00
Felix Cravic
75ef5e7b46
EntityCreature#setPathTo now synchronized
2020-08-07 09:28:15 +02:00
TheMode
72a80da0bc
Merge pull request #31 from Minestom/improve-utility
...
Make utility classes final and not constructable.
2020-08-07 09:15:37 +02:00
Felix Cravic
45fd0dc22a
Comments
2020-08-07 09:14:50 +02:00
Articdive
d5b8ead337
Make utility classes final and not constructable.
2020-08-07 08:10:10 +02:00
Rems19
69e935e4dd
Fix removePlayer in ConnectionManager
2020-08-07 07:20:15 +02:00