Add missing getLevel implementation to Hopper Minecart, add mapping to fix reobf
This commit is contained in:
parent
7fe98bd520
commit
f7bc641230
2 changed files with 25 additions and 2 deletions
|
@ -20,3 +20,8 @@ net/minecraft/world/entity/npc/EntityVillagerAbstract fD ()Lnet/minecraft/world/
|
|||
|
||||
# BehaviorWorkComposter -> BehaviorWork
|
||||
net/minecraft/world/entity/ai/behavior/BehaviorWorkComposter a (Lnet/minecraft/server/level/WorldServer;Lnet/minecraft/world/entity/npc/EntityVillager;)V doWork
|
||||
|
||||
# We add getLevel to the Hopper interface (implemented by Hoppers and Hopper Minecarts), but this also exists on BlockEntity,
|
||||
# which Hoppers also extend. We need to map the method we add to the Hopper interface to the same name used for the method on BlockEntity
|
||||
# to avoid remap causing issues
|
||||
net/minecraft/world/level/block/entity/IHopper getWorld ()Lnet/minecraft/world/level/World; getLevel
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue