Interface ExperienceOrbAccessor
public interface ExperienceOrbAccessor
Mixin accessor interface targeting the
ExperienceOrb entity.
Exposes the internal age timer to permit direct modification of the entity despawn cycle.-
Method Summary
Modifier and TypeMethodDescriptionvoidenchantment_core$setAge(int age) Modifies the internal age variable of the experience orb.
-
Method Details
-
enchantment_core$setAge
void enchantment_core$setAge(int age) Modifies the internal age variable of the experience orb. Assigning a value of 0 resets the despawn timer, extending the entity lifetime.- Parameters:
age- The new age value in ticks.
-