mirror of https://github.com/FabricMC/yarn.git
Thinking with portals (part 1) (#1569)
* Thinking with portals (part 1) * match the method name to return type
This commit is contained in:
parent
c5c06dcca3
commit
52bb8ef4aa
|
@ -227,6 +227,12 @@ CLASS net/minecraft/class_1297 net/minecraft/entity/Entity
|
|||
ARG 1 onGround
|
||||
METHOD method_25936 getLandingBlockState ()Lnet/minecraft/class_2680;
|
||||
METHOD method_27298 shouldSpawnSprintingParticles ()Z
|
||||
METHOD method_30329 getTeleportTarget (Lnet/minecraft/class_3218;)Lnet/minecraft/class_5454;
|
||||
ARG 1 destination
|
||||
METHOD method_30333 getTeleportationScale (Lnet/minecraft/class_2874;Lnet/minecraft/class_2874;)D
|
||||
COMMENT Gets the teleportation scale between two dimensions.
|
||||
ARG 0 origin
|
||||
ARG 1 destination
|
||||
METHOD method_5621 getMountedHeightOffset ()D
|
||||
METHOD method_5622 onBlockCollision (Lnet/minecraft/class_2680;)V
|
||||
ARG 1 state
|
||||
|
@ -428,7 +434,12 @@ CLASS net/minecraft/class_1297 net/minecraft/entity/Entity
|
|||
ARG 1 index
|
||||
ARG 2 value
|
||||
METHOD method_5730 setOnFireFromLava ()V
|
||||
METHOD method_5731 changeDimension (Lnet/minecraft/class_3218;)Lnet/minecraft/class_1297;
|
||||
METHOD method_5731 moveToWorld (Lnet/minecraft/class_3218;)Lnet/minecraft/class_1297;
|
||||
COMMENT Moves this entity to another world.
|
||||
COMMENT
|
||||
COMMENT <p>Note all entities except server player entities are completely recreated at the destination.
|
||||
COMMENT
|
||||
COMMENT @return the entity in the other world
|
||||
ARG 1 destination
|
||||
METHOD method_5732 isAttackable ()Z
|
||||
METHOD method_5733 shouldRenderName ()Z
|
||||
|
|
|
@ -112,7 +112,7 @@ CLASS net/minecraft/class_3222 net/minecraft/server/network/ServerPlayerEntity
|
|||
ARG 2 hash
|
||||
METHOD method_17668 setCameraPosition (Lnet/minecraft/class_4076;)V
|
||||
ARG 1 cameraPosition
|
||||
METHOD method_18783 dimensionChanged (Lnet/minecraft/class_3218;)V
|
||||
METHOD method_18783 worldChanged (Lnet/minecraft/class_3218;)V
|
||||
ARG 1 targetWorld
|
||||
METHOD method_26280 getSpawnPointPosition ()Lnet/minecraft/class_2338;
|
||||
METHOD method_26281 getSpawnPointDimension ()Lnet/minecraft/class_5321;
|
||||
|
@ -130,3 +130,7 @@ CLASS net/minecraft/class_3222 net/minecraft/server/network/ServerPlayerEntity
|
|||
METHOD method_26287 isBedTooFarAway (Lnet/minecraft/class_2338;)Z
|
||||
ARG 1 pos
|
||||
METHOD method_29779 forgiveMobAnger ()V
|
||||
METHOD method_30313 createEndSpawnPlatform (Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;)V
|
||||
ARG 1 world
|
||||
ARG 2 centerPos
|
||||
METHOD method_5731 moveToWorld (Lnet/minecraft/class_3218;)Lnet/minecraft/class_1297;
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
CLASS net/minecraft/class_5454 net/minecraft/world/TeleportTarget
|
||||
FIELD field_25879 position Lnet/minecraft/class_243;
|
||||
FIELD field_25880 velocity Lnet/minecraft/class_243;
|
||||
FIELD field_25881 yaw F
|
||||
FIELD field_25882 pitch F
|
||||
METHOD <init> (Lnet/minecraft/class_243;Lnet/minecraft/class_243;FF)V
|
||||
ARG 1 position
|
||||
ARG 2 velocity
|
||||
ARG 3 yaw
|
||||
ARG 4 pitch
|
Loading…
Reference in New Issue