Commit Graph

1117 Commits

Author SHA1 Message Date
Felix Cravic
c73ec6f0d6 Fix ExperienceOrb#setExperienceCount with a proper updating client-side 2020-05-24 20:21:17 +02:00
Felix Cravic
b193c5f12a Lot of comments 2020-05-24 19:59:50 +02:00
Felix Cravic
c2d1a4f70a Fix synchronization issue with metadata + some comments 2020-05-24 19:22:58 +02:00
Felix Cravic
b8f2afa4c3 Changed the packet listener api, allowing for listener override 2020-05-24 17:11:21 +02:00
Felix Cravic
883e7eb80f Added Entity#isAutoViewable & making Viewable#addViewer and Viewable#removeViewer return boolean 2020-05-23 17:57:56 +02:00
Felix Cravic
a4b530c1dc WIP vehicle support 2020-05-23 14:04:53 +02:00
Felix Cravic
378639af1e Update inventory using PacketWriterUtils 2020-05-23 11:28:26 +02:00
Felix Cravic
97bd1ecdb1 Cleanup 2020-05-23 04:20:01 +02:00
Felix Cravic
28e6ef9b87 Give the right result for InventoryClickHandler#drop 2020-05-22 23:26:18 +02:00
Felix Cravic
45d901a0bc Lot of inventory improvements/fixes 2020-05-22 23:19:04 +02:00
Felix Cravic
d05a2feff3 WIP ItemFlag 2020-05-22 21:46:50 +02:00
Felix Cravic
888c570235 Added enchantments reader/writer + item dropping in creative mode 2020-05-22 18:51:03 +02:00
jglrxavpok
bf9316d06b Automatically check conditions when generating 2020-05-21 19:30:43 +02:00
jglrxavpok
556c6fd837 Changed condition deserializing in order to allow arguments inside the .json and utility functions in Position 2020-05-21 19:17:34 +02:00
jglrxavpok
3d919db633 Fix alternatives and sequence loot entry types 2020-05-21 18:55:07 +02:00
jglrxavpok
1ca561215c Send velocity packet when velocity is forced changed with Entity#setVelocity 2020-05-21 00:36:50 +02:00
jglrxavpok
da416866f6 Added entity eye height 2020-05-21 00:33:56 +02:00
jglrxavpok
18a9f2485d Explosion and loot table callbacks in CustomBlock + custom blocks can write block entities 2020-05-19 19:31:11 +02:00
jglrxavpok
fe3025fce5 Loot table entry types + Defaults for loot table functions and conditions 2020-05-19 18:34:11 +02:00
Felix Cravic
5cb31171e6 Remove ReflectASM (no more warning message) 2020-05-19 17:47:47 +02:00
jglrxavpok
3c0d351f15 Loot table support 2020-05-18 21:11:59 +02:00
Felix Cravic
c50030cd6b Allow for separate blocks in PlayerBlockBreakEvent 2020-05-17 15:52:49 +02:00
Felix Cravic
f588d1103f Fix cursor item dropping when drop event is cancelled 2020-05-17 11:44:34 +02:00
Felix Cravic
dff29a4717 Drop cursor item when closing inventory 2020-05-17 11:40:49 +02:00
Felix Cravic
47ca22c3d1 Fixed player item dropping, it does not consume the item anymore when the event is cancelled 2020-05-17 04:41:32 +02:00
Felix Cravic
7512cb8f03 Comments for StorageFolder and some utils method 2020-05-17 04:13:24 +02:00
Felix Cravic
4c889923f1 Added more TimeUnit (HOUR/MINUTE/SECOND) 2020-05-17 03:56:36 +02:00
Felix Cravic
2daccd9d9b Fix crash with empty recipe and made Instance constructors public 2020-05-17 03:22:42 +02:00
Felix Cravic
a63693b82b It is now possible to extends InstanceContainer/SharedInstance to make your own 2020-05-17 03:15:47 +02:00
Felix Cravic
ab71133b55 Fixed error relating to unloaded chunk in Entity#update 2020-05-17 01:42:07 +02:00
Felix Cravic
80f9122da1 Storage system improvement 2020-05-16 22:22:34 +02:00
Felix Cravic
fe7e56da8d Added StorageFolder#getOrDefault and some cleanup 2020-05-16 22:07:24 +02:00
Felix Cravic
fa4b083ab8 Added Data#hasKey and Data#getKeys 2020-05-16 21:57:46 +02:00
Felix Cravic
155efc0cff Added Sidebar#setTitle to change the title at any time 2020-05-16 19:55:22 +02:00
Felix Cravic
b97b75f13c Added a lot of comments 2020-05-15 18:03:28 +02:00
Felix Cravic
ee90f82969 Prevent memory leak when unloading chunks 2020-05-15 15:38:06 +02:00
Felix Cravic
4a287f82a6 Fixed ArmorEquipEvent calling 2020-05-14 18:59:01 +02:00
Felix Cravic
aeeb9f08a4 Added EntityVelocityEvent + minor refactoring 2020-05-14 18:57:44 +02:00
jglrxavpok
da0df5afe3 Fixed explosion packet 2020-05-14 16:56:44 +02:00
jglrxavpok
583077d556 Send explosion packet 2020-05-14 16:19:04 +02:00
jglrxavpok
1bcc0c9f5b Replace explosion blocks with air 2020-05-14 15:49:14 +02:00
jglrxavpok
6f281eef3b Shortcut to access held items 2020-05-14 15:46:29 +02:00
jglrxavpok
041f9ffb4d Instances can now create explosions 2020-05-14 15:33:36 +02:00
Felix Cravic
498384d2f4 Added permission level + option for a reduced debug screen 2020-05-13 18:43:54 +02:00
Felix Cravic
be0311a874 Added PlayerPreEatEvent for more customisation, separate the default eating time and the individual ones. Also a InventoryOpenEvent#setInventory to change the inventory to open 2020-05-12 18:40:04 +02:00
Felix Cravic
a1b427bf83 Added InventoryOpenEvent 2020-05-12 17:12:11 +02:00
Felix Cravic
4fa1d08fa5 End properly eat animation 2020-05-12 14:19:45 +02:00
Felix Cravic
37add239f8 Custom food animation delay + PlayerEatEvent 2020-05-12 14:12:17 +02:00
Felix Cravic
f5d4cba29d Making the ResponseDataConsumer optional 2020-05-10 19:39:25 +02:00
TheMode
2e548797c3
Merge pull request #6 from Articdive/logging
Added SLF4J and Log4J2 as the logging platform.
2020-05-10 17:02:19 +02:00