Falling blocks and paintings (#383)

* More falling block mappings

* Change some wording

* Painting mappings
This commit is contained in:
Juuxel 2019-01-08 23:14:51 +02:00 committed by Modmuss50
parent dd3052a547
commit 6c2ce1ff41
7 changed files with 30 additions and 9 deletions

View File

@ -15,10 +15,12 @@ CLASS bfz net/minecraft/block/AnvilBlock
ARG 1 entity
METHOD a getPlacementState (Laus;)Lbpm;
ARG 1 ctx
METHOD a (Lbbp;Let;)V
METHOD a onDestroyedOnLanding (Lbbp;Let;)V
ARG 2 pos
METHOD a (Lbbp;Let;Lbpm;Lbpm;)V
METHOD a onLanding (Lbbp;Let;Lbpm;Lbpm;)V
ARG 2 pos
ARG 3 fallingBlockState
ARG 4 currentStateInPos
METHOD a getBoundingShape (Lbpm;Lbbb;Let;)Lcmx;
ARG 1 state
ARG 2 view
@ -42,3 +44,5 @@ CLASS bfz net/minecraft/block/AnvilBlock
ARG 2 rotation
METHOD a appendProperties (Lbpn$a;)V
ARG 1 builder
METHOD a_ getLandingState (Lbpm;)Lbpm;
ARG 0 fallingState

View File

@ -1,8 +1,16 @@
CLASS bhm net/minecraft/block/ConcretePowderBlock
FIELD a hardenedState Lbpm;
METHOD <init> (Lbgs;Lbgs$c;)V
ARG 1 hardened
METHOD a getPlacementState (Laus;)Lbpm;
ARG 1 ctx
METHOD a (Lbbp;Let;Lbpm;Lbpm;)V
METHOD a hardensOnAnySide (Lbbb;Let;)Z
ARG 0 view
ARG 1 pos
METHOD a onLanding (Lbbp;Let;Lbpm;Lbpm;)V
ARG 2 pos
ARG 3 fallingBlockState
ARG 4 currentStateInPos
METHOD a getStateForNeighborUpdate (Lbpm;Ley;Lbpm;Lbbq;Let;Let;)Lbpm;
ARG 1 state
ARG 2 facing
@ -10,3 +18,5 @@ CLASS bhm net/minecraft/block/ConcretePowderBlock
ARG 4 world
ARG 5 pos
ARG 6 neighborPos
METHOD s hardensIn (Lbpm;)Z
ARG 0 state

View File

@ -4,12 +4,14 @@ CLASS bin net/minecraft/block/FallingBlock
ARG 2 stateBuilder
METHOD a configureFallingBlockEntity (Laox;)V
ARG 1 entity
METHOD a (Lbbp;Let;)V
METHOD a onDestroyedOnLanding (Lbbp;Let;)V
ARG 1 world
ARG 2 pos
METHOD a (Lbbp;Let;Lbpm;Lbpm;)V
METHOD a onLanding (Lbbp;Let;Lbpm;Lbpm;)V
ARG 1 world
ARG 2 pos
ARG 3 fallingBlockState
ARG 4 currentStateInPos
METHOD a getTickRate (Lbbt;)I
ARG 1 world
METHOD a onBlockAdded (Lbpm;Lbbp;Let;Lbpm;)V
@ -29,7 +31,7 @@ CLASS bin net/minecraft/block/FallingBlock
ARG 4 world
ARG 5 pos
ARG 6 neighborPos
METHOD b (Lbbp;Let;)V
METHOD b tryStartFalling (Lbbp;Let;)V
ARG 1 world
ARG 2 pos
METHOD b scheduledTick (Lbpm;Lbbp;Let;Ljava/util/Random;)V

View File

@ -3,6 +3,9 @@ CLASS jz net/minecraft/client/network/packet/PaintingSpawnClientPacket
FIELD b uuid Ljava/util/UUID;
FIELD c pos Let;
FIELD d facing Ley;
FIELD e motive I
METHOD <init> (Laoq;)V
ARG 1 entity
METHOD a read (Lit;)V
ARG 1 buf
METHOD a apply (Liw;)V
@ -14,3 +17,4 @@ CLASS jz net/minecraft/client/network/packet/PaintingSpawnClientPacket
METHOD c getPaintingUuid ()Ljava/util/UUID;
METHOD d getPos ()Let;
METHOD e getFacing ()Ley;
METHOD f getMotive ()Laop;

View File

@ -7,6 +7,7 @@ CLASS aox net/minecraft/entity/FallingBlockEntity
FIELD c blockEntityData Lhs;
FIELD d BLOCK_POS Lpr;
FIELD e block Lbpm;
FIELD f destroyedOnLanding Z
METHOD <init> (Lbbp;DDDLbpm;)V
ARG 1 world
ARG 2 x

View File

@ -1,5 +1,5 @@
CLASS aoq net/minecraft/entity/decoration/PaintingEntity
FIELD d type Laop;
CLASS aoq net/minecraft/entity/decoration/painting/PaintingEntity
FIELD d motive Laop;
METHOD <init> (Lbbp;Let;Ley;)V
ARG 1 world
ARG 2 pos

View File

@ -1,4 +1,4 @@
CLASS aop net/minecraft/sortme/PaintingMotive
CLASS aop net/minecraft/entity/decoration/painting/PaintingMotive
FIELD A width I
FIELD B height I
FIELD C textureX I