diff --git a/gradle.properties b/gradle.properties index f8226627c3..6a9fdb8e4c 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,7 +1,7 @@ # Done to increase the memory available to gradle. org.gradle.jvmargs=-Xmx1G -enigma_version=0.24.0 +enigma_version=0.26.0 stitch_version=0.5.1+build.77 # Loader is only used by javadoc generation/linking fabric_loader_version=0.11.1 diff --git a/mappings/net/minecraft/entity/ItemEntity.mapping b/mappings/net/minecraft/entity/ItemEntity.mapping index 27ad995cbb..4d6f13d9b0 100644 --- a/mappings/net/minecraft/entity/ItemEntity.mapping +++ b/mappings/net/minecraft/entity/ItemEntity.mapping @@ -3,8 +3,12 @@ CLASS net/minecraft/class_1542 net/minecraft/entity/ItemEntity FIELD field_7200 thrower Ljava/util/UUID; FIELD field_7201 health I FIELD field_7202 pickupDelay I - FIELD field_7203 hoverHeight F - FIELD field_7204 age I + 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
It differs from {@link Entity#age}.
FIELD field_7205 owner Ljava/util/UUID;
METHOD Used when an item is given to an entity, but this entity
+ COMMENT does not have enough space in its inventory.
ARG 1 uuid
- METHOD method_6985 getAge ()I
+ METHOD method_6985 getItemAge ()I
+ COMMENT Returns the number of ticks since this item entity has been created.
+ COMMENT
+ COMMENT Increases every tick. When it equals to 6000 ticks (5 minutes),
+ COMMENT this item entity disappears.
+ COMMENT
+ COMMENT Unlike {@linkplain Entity#age}, it is persistent and not synchronized
+ COMMENT between the client and the server.
+ COMMENT
+ COMMENT @see #tick()
METHOD method_6986 getOwner ()Ljava/util/UUID;
+ COMMENT Returns the UUID of the entity to which belongs this item entity,
+ COMMENT or {@code null} if there is not.
+ COMMENT
+ COMMENT If there is one, the owner is the only entity which can pick
+ COMMENT up this item entity.
METHOD method_6987 setDespawnImmediately ()V
METHOD method_6988 setToDefaultPickupDelay ()V
+ COMMENT Sets the number of ticks before this item entity can be picked up
+ COMMENT to the default value of 10.
METHOD method_6989 setPickupDelayInfinite ()V
+ COMMENT Makes this item entity impossible to be picked up by setting its
+ COMMENT pickup delay to 32767.