Package net.minecraft.block.entity
Record Class BeehiveBlockEntity.class_9309
java.lang.Object
java.lang.Record
net.minecraft.block.entity.BeehiveBlockEntity.class_9309
- Record Components:
entityData-ticksInHive-minTicksInHive-
- Enclosing class:
BeehiveBlockEntity
public static record BeehiveBlockEntity.class_9309(class_9279 entityData, int ticksInHive, int minTicksInHive)
extends Record
- Mappings:
Namespace Name official dmc$cintermediary net/minecraft/class_4482$class_9309named net/minecraft/block/entity/BeehiveBlockEntity$class_9309official dintermediary comp_2431named entityDataofficial eintermediary comp_2432named ticksInHiveofficial fintermediary comp_2433named minTicksInHive
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final class_9279The field for theentityDatarecord component.static final com.mojang.serialization.Codec<BeehiveBlockEntity.class_9309> static final com.mojang.serialization.Codec<List<BeehiveBlockEntity.class_9309>> static final PacketCodec<ByteBuf, BeehiveBlockEntity.class_9309> private final intThe field for theminTicksInHiverecord component.private final intThe field for theticksInHiverecord component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theentityDatarecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.method_57584(int int2) private static voidmethod_57585(int int2, BeeEntity beeEntity) method_57586(Entity entity) method_57588(World world, BlockPos blockPos) intReturns the value of theminTicksInHiverecord component.intReturns the value of theticksInHiverecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
entityData
The field for theentityDatarecord component. -
ticksInHive
private final int ticksInHiveThe field for theticksInHiverecord component. -
minTicksInHive
private final int minTicksInHiveThe field for theminTicksInHiverecord component. -
field_49411
- Mappings:
Namespace Name Mixin selector official aLdmc$c;a:Lcom/mojang/serialization/Codec;intermediary field_49411Lnet/minecraft/class_4482$class_9309;field_49411:Lcom/mojang/serialization/Codec;named field_49411Lnet/minecraft/block/entity/BeehiveBlockEntity$class_9309;field_49411:Lcom/mojang/serialization/Codec;
-
field_49412
- Mappings:
Namespace Name Mixin selector official bLdmc$c;b:Lcom/mojang/serialization/Codec;intermediary field_49412Lnet/minecraft/class_4482$class_9309;field_49412:Lcom/mojang/serialization/Codec;named field_49412Lnet/minecraft/block/entity/BeehiveBlockEntity$class_9309;field_49412:Lcom/mojang/serialization/Codec;
-
field_49413
- Mappings:
Namespace Name Mixin selector official cLdmc$c;c:Lye;intermediary field_49413Lnet/minecraft/class_4482$class_9309;field_49413:Lnet/minecraft/class_9139;named field_49413Lnet/minecraft/block/entity/BeehiveBlockEntity$class_9309;field_49413:Lnet/minecraft/network/codec/PacketCodec;
-
-
Constructor Details
-
class_9309
-
-
Method Details
-
method_57586
- Mappings:
Namespace Name Mixin selector official aLdmc$c;a(Lbpv;)Ldmc$c;intermediary method_57586Lnet/minecraft/class_4482$class_9309;method_57586(Lnet/minecraft/class_1297;)Lnet/minecraft/class_4482$class_9309;named method_57586Lnet/minecraft/block/entity/BeehiveBlockEntity$class_9309;method_57586(Lnet/minecraft/entity/Entity;)Lnet/minecraft/block/entity/BeehiveBlockEntity$class_9309;
-
method_57584
- Mappings:
Namespace Name Mixin selector official aLdmc$c;a(I)Ldmc$c;intermediary method_57584Lnet/minecraft/class_4482$class_9309;method_57584(I)Lnet/minecraft/class_4482$class_9309;named method_57584Lnet/minecraft/block/entity/BeehiveBlockEntity$class_9309;method_57584(I)Lnet/minecraft/block/entity/BeehiveBlockEntity$class_9309;
-
method_57588
- Mappings:
Namespace Name Mixin selector official aLdmc$c;a(Lcyx;Lib;)Lbpv;intermediary method_57588Lnet/minecraft/class_4482$class_9309;method_57588(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;)Lnet/minecraft/class_1297;named method_57588Lnet/minecraft/block/entity/BeehiveBlockEntity$class_9309;method_57588(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/entity/Entity;
-
method_57585
- Mappings:
Namespace Name Mixin selector official aLdmc$c;a(ILcce;)Vintermediary method_57585Lnet/minecraft/class_4482$class_9309;method_57585(ILnet/minecraft/class_4466;)Vnamed method_57585Lnet/minecraft/block/entity/BeehiveBlockEntity$class_9309;method_57585(ILnet/minecraft/entity/passive/BeeEntity;)V
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
entityData
Returns the value of theentityDatarecord component.- Returns:
- the value of the
entityDatarecord component
-
ticksInHive
public int ticksInHive()Returns the value of theticksInHiverecord component.- Returns:
- the value of the
ticksInHiverecord component
-
minTicksInHive
public int minTicksInHive()Returns the value of theminTicksInHiverecord component.- Returns:
- the value of the
minTicksInHiverecord component
-