Package net.minecraft

Class class_11595


public class class_11595 extends BlockEntity
Mappings:
Namespace Name
named net/minecraft/class_11595
intermediary net/minecraft/class_11595
official ecq
  • Field Details

    • field_61439

      private static final Logger field_61439
      Mappings:
      Namespace Name Mixin selector
      named field_61439 Lnet/minecraft/class_11595;field_61439:Lorg/slf4j/Logger;
      intermediary field_61439 Lnet/minecraft/class_11595;field_61439:Lorg/slf4j/Logger;
      official a Lecq;a:Lorg/slf4j/Logger;
    • field_61440

      private static final List<String> field_61440
      Mappings:
      Namespace Name Mixin selector
      named field_61440 Lnet/minecraft/class_11595;field_61440:Ljava/util/List;
      intermediary field_61440 Lnet/minecraft/class_11595;field_61440:Ljava/util/List;
      official b Lecq;b:Ljava/util/List;
  • Constructor Details

  • Method Details

    • method_72657

      public void method_72657(class_11573 class_11573)
      Mappings:
      Namespace Name Mixin selector
      named method_72657 Lnet/minecraft/class_11595;method_72657(Lnet/minecraft/class_11573;)V
      intermediary method_72657 Lnet/minecraft/class_11595;method_72657(Lnet/minecraft/class_11573;)V
      official a Lecq;a(Lcor;)V
    • method_72661

      private static NbtCompound method_72661(class_11573 class_11573)
      Mappings:
      Namespace Name Mixin selector
      named method_72661 Lnet/minecraft/class_11595;method_72661(Lnet/minecraft/class_11573;)Lnet/minecraft/nbt/NbtCompound;
      intermediary method_72661 Lnet/minecraft/class_11595;method_72661(Lnet/minecraft/class_11573;)Lnet/minecraft/class_2487;
      official b Lecq;b(Lcor;)Lul;
    • method_72658

      @Nullable public @Nullable class_11573 method_72658(BlockState blockState)
      Mappings:
      Namespace Name Mixin selector
      named method_72658 Lnet/minecraft/class_11595;method_72658(Lnet/minecraft/block/BlockState;)Lnet/minecraft/class_11573;
      intermediary method_72658 Lnet/minecraft/class_11595;method_72658(Lnet/minecraft/class_2680;)Lnet/minecraft/class_11573;
      official a Lecq;a(Lefg;)Lcor;
    • method_72659

      private class_11573 method_72659(BlockState blockState, class_11573 class_11573, World world)
      Mappings:
      Namespace Name Mixin selector
      named method_72659 Lnet/minecraft/class_11595;method_72659(Lnet/minecraft/block/BlockState;Lnet/minecraft/class_11573;Lnet/minecraft/world/World;)Lnet/minecraft/class_11573;
      intermediary method_72659 Lnet/minecraft/class_11595;method_72659(Lnet/minecraft/class_2680;Lnet/minecraft/class_11573;Lnet/minecraft/class_1937;)Lnet/minecraft/class_11573;
      official a Lecq;a(Lefg;Lcor;Ldno;)Lcor;
    • toUpdatePacket

      public BlockEntityUpdateS2CPacket toUpdatePacket()
      Description copied from class: BlockEntity
      Returns the packet to send to nearby players when the block entity's observable state changes, or null to not send the packet.

      If the data returned by initial chunk data is suitable for updates, the following shortcut can be used to create an update packet: BlockEntityUpdateS2CPacket.create(this). The NBT will be passed to

      invalid reference
      #readNbt
      on the client.

      "Observable state" is a state that clients can observe without specific interaction. For example, CampfireBlockEntity's cooked items are observable states, but chests' inventories are not observable states, since the player must first open that chest before they can see the contents.

      To sync block entity data using this method, use serverWorld.getChunkManager().markForUpdate(this.getPos());.

      Overrides:
      toUpdatePacket in class BlockEntity
      Returns:
      the packet to send to nearby players when the block entity's observable state changes, or null to not send the packet
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named toUpdatePacket Lnet/minecraft/class_11595;toUpdatePacket()Lnet/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket;
      intermediary method_72656 Lnet/minecraft/class_11595;method_72656()Lnet/minecraft/class_2622;
      official a Lecq;a()Lacz;