Commit Graph

3575 Commits

Author SHA1 Message Date
TheMode
70aad159b9 Add BlockEntry 2021-06-11 16:50:37 +02:00
TheMode
70cd3891cf Added WIP Registry 2021-06-11 16:48:00 +02:00
TheMode
82eec1072c Create ProtocolObject 2021-06-11 16:45:01 +02:00
TheMode
35baf1e772 Remove unsafe prefix from Chunk#setBlock 2021-06-11 16:40:37 +02:00
TheMode
7f8120a334 Rebase 2021-06-11 16:37:07 +02:00
TheMode
457ef9df17 Merge branch 'master' into new-block-api
# Conflicts:
#	src/autogenerated/java/net/minestom/server/instance/block/Block.java
#	src/main/java/net/minestom/server/MinecraftServer.java
#	src/main/java/net/minestom/server/entity/Player.java
#	src/main/java/net/minestom/server/entity/pathfinding/PFBlockDescription.java
#	src/main/java/net/minestom/server/entity/pathfinding/PFBlockObject.java
#	src/main/java/net/minestom/server/instance/Chunk.java
#	src/main/java/net/minestom/server/instance/palette/PaletteStorage.java
#	src/main/java/net/minestom/server/network/packet/server/play/ChunkDataPacket.java
#	src/main/java/net/minestom/server/network/packet/server/play/TagsPacket.java
2021-06-11 16:31:01 +02:00
TheMode
37f8306fb4 Use dedicated component write method 2021-06-11 16:23:07 +02:00
TheMode
0200788b22 Add dedicated method to ignore string/component size 2021-06-11 16:19:17 +02:00
TheMode
9fed96abe2
Merge pull request #307 from Minestom/1.17
1.17 Update
2021-06-11 16:08:08 +02:00
TheMode
265ae83b4d Fix tags packet 2021-06-11 16:00:14 +02:00
TheMode
72bf894162 Fix chunk packet read 2021-06-11 15:41:02 +02:00
TheMode
97d17f9b8b Fix Light & window click test 2021-06-11 15:38:46 +02:00
TheMode
88052576b3 Support for forced resource packs 2021-06-11 12:32:24 +02:00
TheMode
f31639c45c Fix rebase 2021-06-10 16:12:42 +02:00
TheMode
14879636f1 Merge branch 'master' into new-block-api
# Conflicts:
#	.gitignore
#	build.gradle
#	code-generators/build.gradle
#	code-generators/src/main/java/net/minestom/codegen/Generators.java
#	code-generators/src/main/java/net/minestom/codegen/MinestomCodeGenerator.java
#	code-generators/src/main/java/net/minestom/codegen/blocks/BlockGenerator.java
#	gradle.properties
#	src/autogenerated/java/net/minestom/server/instance/block/Block.java
#	src/autogenerated/java/net/minestom/server/registry/Registries.java
#	src/generators/java/net/minestom/codegen/AllGenerators.java
#	src/generators/java/net/minestom/codegen/RegistriesGenerator.java
#	src/generators/java/net/minestom/codegen/items/ItemEnumGenerator.java
#	src/main/java/net/minestom/server/entity/Player.java
2021-06-10 16:05:19 +02:00
TheMode
78cc392007 Merge branch 'master' into event-api 2021-06-10 14:42:07 +02:00
TheMode
c0e956bef5 Fix javadoc 2021-06-10 14:41:44 +02:00
TheMode
ea05a6f784 Add trait to ItemDropEvent 2021-06-10 11:58:48 +02:00
TheMode
74d323126f Add traits to EntityEquipEvent 2021-06-10 11:57:13 +02:00
TheMode
3b80335134 Avoid foreach for sensitive code 2021-06-10 11:53:50 +02:00
Articdive
9ae8c96091
Finish TagsPacket read method 2021-06-10 09:45:30 +02:00
Articdive
29bac6fe24
Use enum for AxolotlMeta 2021-06-10 09:18:17 +02:00
TheMode
6ef40e08c7 Link to the packet event 2021-06-10 09:01:49 +02:00
TheMode
13350d0ab8 Fix ignoreCancelled option 2021-06-09 22:01:46 +02:00
Articdive
2976be947b
Fix and improve tags 2021-06-09 21:23:35 +02:00
TheMode
ad7b01fb9a Added NettyServer#getServerChannel 2021-06-09 20:36:27 +02:00
Articdive
9e64935af8
Let's just use the correct number here 2021-06-09 20:02:22 +02:00
Articdive
049592d1c2
Fix game event tags missing. 2021-06-09 19:26:46 +02:00
TheMode
82a351492b
Merge pull request #305 from stefvanschie/master
Changing item drag events
2021-06-09 18:12:08 +02:00
TheMode
b8bd7f3d02 Fix ResourceGatherer 2021-06-09 17:13:17 +02:00
TheMode
603e3293a6 Catch event exceptions 2021-06-09 14:05:37 +02:00
Articdive
ab5ac387ef
Merge branch '1.17' of github.com:Minestom/Minestom into 1.17 2021-06-09 12:02:01 +02:00
Articdive
463224a693
Update to 1.17 data artifact 2021-06-09 12:01:42 +02:00
TheMode
0bd4a68290 Added ignoreCancelled option for EventListener 2021-06-09 08:46:19 +02:00
TheMode
12a215349d Lazily add eventhandler node to root for backward compatibility 2021-06-09 08:31:06 +02:00
TheMode
d800c94dcc Remove EventHandler mention in Event 2021-06-09 08:25:56 +02:00
TheMode
68ba4b232d Remove EventHandler mention in Event 2021-06-09 08:25:32 +02:00
TheMode
16d8597195 Make CancellableEvent a trait 2021-06-09 07:11:01 +02:00
TheMode
dd44b752c3 Remove addListener0 2021-06-09 06:57:08 +02:00
TheMode
fc70d4528e formatting 2021-06-09 06:52:00 +02:00
Matt Worzala
d38c0368fc
add event api javadocs v1 2021-06-08 16:58:48 -04:00
stefvanschie
99855a3ea7
Allow for cancelling at start and end of drag 2021-06-08 21:27:34 +02:00
stefvanschie
ddbd621535
Change dragging events
Now fires a start dragging, then a dragging for each slot and then an end dragging.
2021-06-08 19:55:11 +02:00
stefvanschie
cd319b047c Merge branch 'Minestom:master' into master 2021-06-08 19:52:50 +02:00
TheMode
3b00c2e010 1.17 release 2021-06-08 17:41:37 +02:00
TheMode
3fae5ed35f Fix checks 2021-06-08 17:18:00 +02:00
TheMode
34cde8390a Add more node children manipulation methods 2021-06-08 17:09:24 +02:00
TheMode
eb3cdd1495 Added EventNode#findChildren 2021-06-08 16:55:21 +02:00
TheMode
92ca5f6be6 Simplify PlayerInit 2021-06-08 16:43:22 +02:00
TheMode
8c6d7ad1c3 Provide an event node per extension 2021-06-08 16:25:46 +02:00