mirror of https://github.com/FabricMC/yarn.git
structure piece holder and timed task nested class (#2315)
refactor some broken stuff Signed-off-by: liach <liach@users.noreply.github.com> Co-authored-by: liach <liach@users.noreply.github.com>
This commit is contained in:
parent
944e85408f
commit
01f3c5067b
|
@ -0,0 +1,13 @@
|
|||
CLASS net/minecraft/class_6130 net/minecraft/structure/StructurePiecesHolder
|
||||
COMMENT A holder of generated structure pieces.
|
||||
COMMENT
|
||||
COMMENT @see StructurePiece#fillOpenings
|
||||
METHOD method_35461 getIntersecting (Lnet/minecraft/class_3341;)Lnet/minecraft/class_3443;
|
||||
COMMENT Returns an arbitrary piece in this holder that intersects the given {@code box},
|
||||
COMMENT or {@code null} if there is no such piece.
|
||||
ARG 1 box
|
||||
COMMENT the box to check intersection against
|
||||
METHOD method_35462 addPiece (Lnet/minecraft/class_3443;)V
|
||||
COMMENT Adds a structure piece into this holder.
|
||||
ARG 1 piece
|
||||
COMMENT the piece to add
|
|
@ -62,9 +62,10 @@ CLASS net/minecraft/class_3449 net/minecraft/structure/StructureStart
|
|||
ARG 1 amount
|
||||
METHOD method_35464 contains (Lnet/minecraft/class_2338;)Z
|
||||
ARG 1 pos
|
||||
METHOD method_35465 intersects (Ljava/util/List;Lnet/minecraft/class_3341;)Lnet/minecraft/class_3443;
|
||||
METHOD method_35465 getIntersecting (Ljava/util/List;Lnet/minecraft/class_3341;)Lnet/minecraft/class_3443;
|
||||
ARG 0 pieces
|
||||
ARG 1 box
|
||||
METHOD method_35466 clearChildren ()V
|
||||
METHOD method_35467 hasNoChildren ()Z
|
||||
METHOD method_35468 resetBoundingBox ()V
|
||||
METHOD method_36217 calculateBoundingBox ()Lnet/minecraft/class_3341;
|
||||
|
|
|
@ -11,6 +11,7 @@ CLASS net/minecraft/class_4693 net/minecraft/test/TimedTaskRunner
|
|||
METHOD method_23645 runTasks (J)V
|
||||
ARG 1 tick
|
||||
METHOD method_36077 (ILjava/lang/Runnable;)Lnet/minecraft/class_4693;
|
||||
ARG 1 delay
|
||||
ARG 2 task
|
||||
METHOD method_36078 createAndAdd (JLjava/lang/Runnable;)Lnet/minecraft/class_4693;
|
||||
ARG 1 duration
|
||||
|
@ -23,3 +24,9 @@ CLASS net/minecraft/class_4693 net/minecraft/test/TimedTaskRunner
|
|||
ARG 1 task
|
||||
METHOD method_36089 tryRun (Ljava/lang/Runnable;)V
|
||||
ARG 1 task
|
||||
CLASS class_6304 Trigger
|
||||
FIELD field_33154 UNTRIGGERED_TICK J
|
||||
FIELD field_33155 triggeredTick J
|
||||
METHOD method_36092 checkTrigger ()V
|
||||
METHOD method_36093 trigger (J)V
|
||||
ARG 1 tick
|
||||
|
|
|
@ -91,11 +91,11 @@ CLASS net/minecraft/class_3341 net/minecraft/util/math/BlockBox
|
|||
ARG 0 box
|
||||
METHOD method_35410 expand (I)Lnet/minecraft/class_3341;
|
||||
ARG 1 offset
|
||||
METHOD method_35411 encompass (Ljava/lang/Iterable;)Ljava/util/Optional;
|
||||
METHOD method_35411 encompassPositions (Ljava/lang/Iterable;)Ljava/util/Optional;
|
||||
ARG 0 positions
|
||||
METHOD method_35412 intersection (Lnet/minecraft/class_3341;)Lnet/minecraft/class_3341;
|
||||
METHOD method_35412 encompass (Lnet/minecraft/class_3341;)Lnet/minecraft/class_3341;
|
||||
ARG 1 box
|
||||
METHOD method_35413 intersect (Ljava/lang/Iterable;)Ljava/util/Optional;
|
||||
METHOD method_35413 encompass (Ljava/lang/Iterable;)Ljava/util/Optional;
|
||||
ARG 0 boxes
|
||||
METHOD method_35414 getBlockCountX ()I
|
||||
METHOD method_35415 getMinX ()I
|
||||
|
|
Loading…
Reference in New Issue