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$c
intermediary net/minecraft/class_4482$class_9309
named net/minecraft/block/entity/BeehiveBlockEntity$class_9309
official d
intermediary comp_2431
named entityData
official e
intermediary comp_2432
named ticksInHive
official f
intermediary comp_2433
named minTicksInHive
  • Field Details

    • entityData

      private final class_9279 entityData
      The field for the entityData record component.
    • ticksInHive

      private final int ticksInHive
      The field for the ticksInHive record component.
    • minTicksInHive

      private final int minTicksInHive
      The field for the minTicksInHive record component.
    • field_49411

      public static final com.mojang.serialization.Codec<BeehiveBlockEntity.class_9309> field_49411
      Mappings:
      Namespace Name Mixin selector
      official a Ldmc$c;a:Lcom/mojang/serialization/Codec;
      intermediary field_49411 Lnet/minecraft/class_4482$class_9309;field_49411:Lcom/mojang/serialization/Codec;
      named field_49411 Lnet/minecraft/block/entity/BeehiveBlockEntity$class_9309;field_49411:Lcom/mojang/serialization/Codec;
    • field_49412

      public static final com.mojang.serialization.Codec<List<BeehiveBlockEntity.class_9309>> field_49412
      Mappings:
      Namespace Name Mixin selector
      official b Ldmc$c;b:Lcom/mojang/serialization/Codec;
      intermediary field_49412 Lnet/minecraft/class_4482$class_9309;field_49412:Lcom/mojang/serialization/Codec;
      named field_49412 Lnet/minecraft/block/entity/BeehiveBlockEntity$class_9309;field_49412:Lcom/mojang/serialization/Codec;
    • field_49413

      public static final PacketCodec<ByteBuf,BeehiveBlockEntity.class_9309> field_49413
      Mappings:
      Namespace Name Mixin selector
      official c Ldmc$c;c:Lye;
      intermediary field_49413 Lnet/minecraft/class_4482$class_9309;field_49413:Lnet/minecraft/class_9139;
      named field_49413 Lnet/minecraft/block/entity/BeehiveBlockEntity$class_9309;field_49413:Lnet/minecraft/network/codec/PacketCodec;
  • Constructor Details

    • class_9309

      public class_9309(class_9279 class_9279, int int2, int int3)
  • Method Details

    • method_57586

      public static BeehiveBlockEntity.class_9309 method_57586(Entity entity)
      Mappings:
      Namespace Name Mixin selector
      official a Ldmc$c;a(Lbpv;)Ldmc$c;
      intermediary method_57586 Lnet/minecraft/class_4482$class_9309;method_57586(Lnet/minecraft/class_1297;)Lnet/minecraft/class_4482$class_9309;
      named method_57586 Lnet/minecraft/block/entity/BeehiveBlockEntity$class_9309;method_57586(Lnet/minecraft/entity/Entity;)Lnet/minecraft/block/entity/BeehiveBlockEntity$class_9309;
    • method_57584

      public static BeehiveBlockEntity.class_9309 method_57584(int int2)
      Mappings:
      Namespace Name Mixin selector
      official a Ldmc$c;a(I)Ldmc$c;
      intermediary method_57584 Lnet/minecraft/class_4482$class_9309;method_57584(I)Lnet/minecraft/class_4482$class_9309;
      named method_57584 Lnet/minecraft/block/entity/BeehiveBlockEntity$class_9309;method_57584(I)Lnet/minecraft/block/entity/BeehiveBlockEntity$class_9309;
    • method_57588

      @Nullable public @Nullable Entity method_57588(World world, BlockPos blockPos)
      Mappings:
      Namespace Name Mixin selector
      official a Ldmc$c;a(Lcyx;Lib;)Lbpv;
      intermediary method_57588 Lnet/minecraft/class_4482$class_9309;method_57588(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;)Lnet/minecraft/class_1297;
      named method_57588 Lnet/minecraft/block/entity/BeehiveBlockEntity$class_9309;method_57588(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/entity/Entity;
    • method_57585

      private static void method_57585(int int2, BeeEntity beeEntity)
      Mappings:
      Namespace Name Mixin selector
      official a Ldmc$c;a(ILcce;)V
      intermediary method_57585 Lnet/minecraft/class_4482$class_9309;method_57585(ILnet/minecraft/class_4466;)V
      named method_57585 Lnet/minecraft/block/entity/BeehiveBlockEntity$class_9309;method_57585(ILnet/minecraft/entity/passive/BeeEntity;)V
    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object object)
      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 with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      object - the object with which to compare
      Returns:
      true if this object is the same as the object argument; false otherwise.
    • entityData

      public class_9279 entityData()
      Returns the value of the entityData record component.
      Returns:
      the value of the entityData record component
    • ticksInHive

      public int ticksInHive()
      Returns the value of the ticksInHive record component.
      Returns:
      the value of the ticksInHive record component
    • minTicksInHive

      public int minTicksInHive()
      Returns the value of the minTicksInHive record component.
      Returns:
      the value of the minTicksInHive record component