2019-06-28 17:55:20 -04:00
|
|
|
CLASS net/minecraft/class_1542 net/minecraft/entity/ItemEntity
|
2021-04-07 16:44:18 -04:00
|
|
|
FIELD field_30456 DESPAWN_AGE I
|
2021-06-06 10:21:56 -04:00
|
|
|
FIELD field_30457 CANNOT_PICK_UP_DELAY I
|
|
|
|
FIELD field_30458 NEVER_DESPAWN_AGE I
|
2023-01-24 14:05:59 -05:00
|
|
|
FIELD field_41893 owner Ljava/util/UUID;
|
2023-10-14 07:37:33 -04:00
|
|
|
FIELD field_46653 thrower Lnet/minecraft/class_1297;
|
2019-06-28 17:55:20 -04:00
|
|
|
FIELD field_7199 STACK Lnet/minecraft/class_2940;
|
2023-10-14 07:37:33 -04:00
|
|
|
FIELD field_7200 throwerUuid Ljava/util/UUID;
|
2019-06-28 17:55:20 -04:00
|
|
|
FIELD field_7201 health I
|
|
|
|
FIELD field_7202 pickupDelay I
|
2021-03-26 13:27:00 -04:00
|
|
|
FIELD field_7203 uniqueOffset F
|
|
|
|
FIELD field_7204 itemAge I
|
|
|
|
COMMENT The number of ticks since this item entity has been created.
|
|
|
|
COMMENT It is a short value with key {@code Age} in the NBT structure.
|
|
|
|
COMMENT
|
|
|
|
COMMENT <p>It differs from {@link Entity#age}.
|
2020-12-31 09:22:27 -05:00
|
|
|
METHOD <init> (Lnet/minecraft/class_1542;)V
|
|
|
|
ARG 1 entity
|
2019-07-08 12:09:22 -04:00
|
|
|
METHOD <init> (Lnet/minecraft/class_1937;DDDLnet/minecraft/class_1799;)V
|
2018-12-12 10:08:04 -05:00
|
|
|
ARG 1 world
|
|
|
|
ARG 2 x
|
|
|
|
ARG 4 y
|
|
|
|
ARG 6 z
|
|
|
|
ARG 8 stack
|
2021-05-21 10:28:57 -04:00
|
|
|
METHOD <init> (Lnet/minecraft/class_1937;DDDLnet/minecraft/class_1799;DDD)V
|
|
|
|
ARG 1 world
|
|
|
|
ARG 2 x
|
|
|
|
ARG 4 y
|
|
|
|
ARG 6 z
|
|
|
|
ARG 8 stack
|
|
|
|
ARG 9 velocityX
|
|
|
|
ARG 11 velocityY
|
|
|
|
ARG 13 velocityZ
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_18006 merge (Lnet/minecraft/class_1542;Lnet/minecraft/class_1799;Lnet/minecraft/class_1542;Lnet/minecraft/class_1799;)V
|
2019-05-07 07:19:00 -04:00
|
|
|
ARG 0 targetEntity
|
|
|
|
ARG 1 targetStack
|
|
|
|
ARG 2 sourceEntity
|
|
|
|
ARG 3 sourceStack
|
2022-02-19 06:29:24 -05:00
|
|
|
METHOD method_20396 (Lnet/minecraft/class_1542;)Z
|
|
|
|
ARG 1 otherItemEntity
|
2019-08-03 18:47:19 -04:00
|
|
|
METHOD method_20397 canMerge ()Z
|
2020-02-06 15:02:23 -05:00
|
|
|
METHOD method_24016 merge (Lnet/minecraft/class_1542;Lnet/minecraft/class_1799;Lnet/minecraft/class_1799;)V
|
|
|
|
ARG 0 targetEntity
|
|
|
|
ARG 1 stack1
|
|
|
|
ARG 2 stack2
|
|
|
|
METHOD method_24017 canMerge (Lnet/minecraft/class_1799;Lnet/minecraft/class_1799;)Z
|
2024-01-31 22:10:35 -05:00
|
|
|
ARG 0 stack1
|
|
|
|
ARG 1 stack2
|
2020-02-06 15:02:23 -05:00
|
|
|
METHOD method_24018 merge (Lnet/minecraft/class_1799;Lnet/minecraft/class_1799;I)Lnet/minecraft/class_1799;
|
|
|
|
ARG 0 stack1
|
|
|
|
ARG 1 stack2
|
|
|
|
ARG 2 maxCount
|
2020-12-31 09:22:27 -05:00
|
|
|
METHOD method_24348 applyLavaBuoyancy ()V
|
2021-03-26 13:27:00 -04:00
|
|
|
METHOD method_27314 getRotation (F)F
|
|
|
|
ARG 1 tickDelta
|
2021-01-25 13:28:38 -05:00
|
|
|
METHOD method_29271 copy ()Lnet/minecraft/class_1542;
|
2021-05-24 09:46:09 -04:00
|
|
|
METHOD method_35190 setNeverDespawn ()V
|
2023-01-24 14:05:59 -05:00
|
|
|
METHOD method_48349 setOwner (Ljava/util/UUID;)V
|
|
|
|
ARG 1 owner
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_6972 tryMerge (Lnet/minecraft/class_1542;)V
|
|
|
|
ARG 1 other
|
|
|
|
METHOD method_6973 tryMerge ()V
|
2020-12-31 09:22:27 -05:00
|
|
|
METHOD method_6974 applyWaterBuoyancy ()V
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_6975 resetPickupDelay ()V
|
2021-03-26 13:27:00 -04:00
|
|
|
COMMENT Sets the number of ticks before this item entity can be picked up
|
|
|
|
COMMENT to 0.
|
2019-08-03 18:47:19 -04:00
|
|
|
METHOD method_6976 setCovetedItem ()V
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_6977 cannotPickup ()Z
|
2021-03-26 13:27:00 -04:00
|
|
|
COMMENT Returns whether the pickup delay of this item entity is greater
|
|
|
|
COMMENT than 0.
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_6979 setStack (Lnet/minecraft/class_1799;)V
|
2021-03-26 13:27:00 -04:00
|
|
|
COMMENT Sets the item stack contained in this item entity to {@code stack}.
|
2019-05-07 07:19:00 -04:00
|
|
|
ARG 1 stack
|
2023-10-11 11:19:59 -04:00
|
|
|
METHOD method_6981 setThrower (Lnet/minecraft/class_1297;)V
|
2022-02-09 11:42:35 -05:00
|
|
|
COMMENT Sets the thrower of this item entity to {@code thrower}.
|
2023-10-14 07:37:33 -04:00
|
|
|
ARG 1 thrower
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_6982 setPickupDelay (I)V
|
2021-03-26 13:27:00 -04:00
|
|
|
COMMENT Sets the number of ticks before this item entity can be picked up
|
|
|
|
COMMENT to {@code pickupDelay}.
|
2019-06-28 17:55:20 -04:00
|
|
|
ARG 1 pickupDelay
|
|
|
|
METHOD method_6983 getStack ()Lnet/minecraft/class_1799;
|
2021-03-26 13:27:00 -04:00
|
|
|
COMMENT Returns the item stack contained in this item entity.
|
|
|
|
METHOD method_6985 getItemAge ()I
|
|
|
|
COMMENT Returns the number of ticks since this item entity has been created.
|
|
|
|
COMMENT
|
|
|
|
COMMENT <p>Increases every tick. When it equals to 6000 ticks (5 minutes),
|
|
|
|
COMMENT this item entity disappears.
|
|
|
|
COMMENT
|
|
|
|
COMMENT <p>Unlike {@linkplain Entity#age}, it is persistent and not synchronized
|
|
|
|
COMMENT between the client and the server.
|
|
|
|
COMMENT
|
|
|
|
COMMENT @see #tick()
|
2019-08-03 18:47:19 -04:00
|
|
|
METHOD method_6987 setDespawnImmediately ()V
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_6988 setToDefaultPickupDelay ()V
|
2021-03-26 13:27:00 -04:00
|
|
|
COMMENT Sets the number of ticks before this item entity can be picked up
|
|
|
|
COMMENT to the default value of 10.
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_6989 setPickupDelayInfinite ()V
|
2021-03-26 13:27:00 -04:00
|
|
|
COMMENT Makes this item entity impossible to be picked up by setting its
|
|
|
|
COMMENT pickup delay to 32767.
|