Map the refactor for item frames and glow item frames (#2123)

* Map the refactor for item frames and glow item frames

* Make the names of sound event methods in the ItemFrameEntity class consistent with other sound event methods
This commit is contained in:
haykam821 2021-03-10 17:04:38 -05:00 committed by GitHub
parent 252ad11d0a
commit 96fc5ea090
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 0 deletions

View File

@ -10,6 +10,8 @@ CLASS net/minecraft/class_1530 net/minecraft/entity/decoration/AbstractDecoratio
METHOD method_6888 canStayAttached ()Z
METHOD method_6889 onBreak (Lnet/minecraft/class_1297;)V
ARG 1 entity
METHOD method_6890 (Lnet/minecraft/class_1297;)Z
ARG 0 entity
METHOD method_6891 getHeightPixels ()I
METHOD method_6892 setFacing (Lnet/minecraft/class_2350;)V
ARG 1 facing

View File

@ -0,0 +1 @@
CLASS net/minecraft/class_5915 net/minecraft/entity/decoration/GlowItemFrameEntity

View File

@ -14,6 +14,11 @@ CLASS net/minecraft/class_1533 net/minecraft/entity/decoration/ItemFrameEntity
ARG 2 pos
ARG 3 facing
METHOD method_33340 getAsItemStack ()Lnet/minecraft/class_1799;
METHOD method_34240 getRemoveItemSound ()Lnet/minecraft/class_3414;
METHOD method_34241 getBreakSound ()Lnet/minecraft/class_3414;
METHOD method_34242 getPlaceSound ()Lnet/minecraft/class_3414;
METHOD method_34243 getAddItemSound ()Lnet/minecraft/class_3414;
METHOD method_34244 getRotateItemSound ()Lnet/minecraft/class_3414;
METHOD method_6933 setHeldItemStack (Lnet/minecraft/class_1799;Z)V
ARG 1 value
ARG 2 update