Add missing getLevel implementation to Hopper Minecart, add mapping to fix reobf
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user