Package net.minecraft

Class class_10323


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

    • field_54776

      private static final int field_54776
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_54776 Lnet/minecraft/class_10323;field_54776:I
      intermediary field_54776 Lnet/minecraft/class_10323;field_54776:I
      official b Ldve;b:I
    • field_54775

      public static final int field_54775
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_54775 Lnet/minecraft/class_10323;field_54775:I
      intermediary field_54775 Lnet/minecraft/class_10323;field_54775:I
      official a Ldve;a:I
    • field_54777

      private static final int field_54777
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_54777 Lnet/minecraft/class_10323;field_54777:I
      intermediary field_54777 Lnet/minecraft/class_10323;field_54777:I
      official c Ldve;c:I
    • field_54778

      private static final int field_54778
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_54778 Lnet/minecraft/class_10323;field_54778:I
      intermediary field_54778 Lnet/minecraft/class_10323;field_54778:I
      official d Ldve;d:I
    • field_54779

      private static final int field_54779
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_54779 Lnet/minecraft/class_10323;field_54779:I
      intermediary field_54779 Lnet/minecraft/class_10323;field_54779:I
      official e Ldve;e:I
    • field_54780

      private static final int field_54780
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_54780 Lnet/minecraft/class_10323;field_54780:I
      intermediary field_54780 Lnet/minecraft/class_10323;field_54780:I
      official f Ldve;f:I
    • field_54781

      private static final int field_54781
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_54781 Lnet/minecraft/class_10323;field_54781:I
      intermediary field_54781 Lnet/minecraft/class_10323;field_54781:I
      official g Ldve;g:I
    • field_54782

      private static final int field_54782
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_54782 Lnet/minecraft/class_10323;field_54782:I
      intermediary field_54782 Lnet/minecraft/class_10323;field_54782:I
      official h Ldve;h:I
    • field_54783

      private static final int field_54783
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_54783 Lnet/minecraft/class_10323;field_54783:I
      intermediary field_54783 Lnet/minecraft/class_10323;field_54783:I
      official i Ldve;i:I
    • field_54784

      private static final int field_54784
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_54784 Lnet/minecraft/class_10323;field_54784:I
      intermediary field_54784 Lnet/minecraft/class_10323;field_54784:I
      official j Ldve;j:I
    • field_54785

      private static final int field_54785
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_54785 Lnet/minecraft/class_10323;field_54785:I
      intermediary field_54785 Lnet/minecraft/class_10323;field_54785:I
      official k Ldve;k:I
    • field_54786

      @Nullable private @Nullable class_10281 field_54786
      Mappings:
      Namespace Name Mixin selector
      named field_54786 Lnet/minecraft/class_10323;field_54786:Lnet/minecraft/class_10281;
      intermediary field_54786 Lnet/minecraft/class_10323;field_54786:Lnet/minecraft/class_10281;
      official l Ldve;l:Lcny;
    • field_54787

      private int field_54787
      Mappings:
      Namespace Name Mixin selector
      named field_54787 Lnet/minecraft/class_10323;field_54787:I
      intermediary field_54787 Lnet/minecraft/class_10323;field_54787:I
      official m Ldve;m:I
    • field_54788

      private int field_54788
      Mappings:
      Namespace Name Mixin selector
      named field_54788 Lnet/minecraft/class_10323;field_54788:I
      intermediary field_54788 Lnet/minecraft/class_10323;field_54788:I
      official n Ldve;n:I
    • field_54789

      @Nullable private @Nullable Vec3d field_54789
      Mappings:
      Namespace Name Mixin selector
      named field_54789 Lnet/minecraft/class_10323;field_54789:Lnet/minecraft/util/math/Vec3d;
      intermediary field_54789 Lnet/minecraft/class_10323;field_54789:Lnet/minecraft/class_243;
      official r Ldve;r:Lfbs;
  • Constructor Details

  • Method Details

    • method_64804

      public static void method_64804(World world, BlockPos blockPos, BlockState blockState, class_10323 class_10323)
      Mappings:
      Namespace Name Mixin selector
      named method_64804 Lnet/minecraft/class_10323;method_64804(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/class_10323;)V
      intermediary method_64804 Lnet/minecraft/class_10323;method_64804(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_10323;)V
      official a Ldve;a(Ldha;Ljh;Ldxn;Ldve;)V
    • method_64801

      @Nullable private static @Nullable class_10281 method_64801(ServerWorld serverWorld, class_10323 class_10323)
      Mappings:
      Namespace Name Mixin selector
      named method_64801 Lnet/minecraft/class_10323;method_64801(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/class_10323;)Lnet/minecraft/class_10281;
      intermediary method_64801 Lnet/minecraft/class_10323;method_64801(Lnet/minecraft/class_3218;Lnet/minecraft/class_10323;)Lnet/minecraft/class_10281;
      official a Ldve;a(Lash;Ldve;)Lcny;
    • 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 BlockEntity.readNbt(net.minecraft.nbt.NbtCompound, net.minecraft.registry.RegistryWrapper.WrapperLookup) 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_10323;toUpdatePacket()Lnet/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket;
      intermediary method_64805 Lnet/minecraft/class_10323;method_64805()Lnet/minecraft/class_2622;
      official b Ldve;b()Lacy;
    • toInitialChunkDataNbt

      public NbtCompound toInitialChunkDataNbt(RegistryWrapper.WrapperLookup registries)
      Returns the serialized state of this block entity that is observable by clients.

      This is sent alongside the initial chunk data, as well as when the block entity implements toUpdatePacket() and decides to use the default BlockEntityUpdateS2CPacket.

      "Observable state" is a state that clients can observe without specific interaction. For example,

      invalid reference
      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 send all NBT data of this block entity saved to disk, return BlockEntity.createNbt(net.minecraft.registry.RegistryWrapper.WrapperLookup).

      Overrides:
      toInitialChunkDataNbt in class BlockEntity
      Returns:
      the serialized state of this block entity that is observable by clients
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named toInitialChunkDataNbt Lnet/minecraft/block/entity/BlockEntity;toInitialChunkDataNbt(Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;)Lnet/minecraft/nbt/NbtCompound;
      intermediary method_16887 Lnet/minecraft/class_2586;method_16887(Lnet/minecraft/class_7225$class_7874;)Lnet/minecraft/class_2487;
      official a Ldup;a(Ljs$a;)Lux;
    • method_64806

      public void method_64806()
      Mappings:
      Namespace Name Mixin selector
      named method_64806 Lnet/minecraft/class_10323;method_64806()V
      intermediary method_64806 Lnet/minecraft/class_10323;method_64806()V
      official c Ldve;c()V
    • method_64800

      private void method_64800(ServerWorld serverWorld, int int2, boolean bool)
      Mappings:
      Namespace Name Mixin selector
      named method_64800 Lnet/minecraft/class_10323;method_64800(Lnet/minecraft/server/world/ServerWorld;IZ)V
      intermediary method_64800 Lnet/minecraft/class_10323;method_64800(Lnet/minecraft/class_3218;IZ)V
      official a Ldve;a(Lash;IZ)V
    • method_64802

      public void method_64802(@Nullable @Nullable DamageSource damageSource)
      Mappings:
      Namespace Name Mixin selector
      named method_64802 Lnet/minecraft/class_10323;method_64802(Lnet/minecraft/entity/damage/DamageSource;)V
      intermediary method_64802 Lnet/minecraft/class_10323;method_64802(Lnet/minecraft/class_1282;)V
      official a Ldve;a(Lbtv;)V
    • method_64803

      public boolean method_64803(class_10275 class_10275)
      Mappings:
      Namespace Name Mixin selector
      named method_64803 Lnet/minecraft/class_10323;method_64803(Lnet/minecraft/class_10275;)Z
      intermediary method_64803 Lnet/minecraft/class_10323;method_64803(Lnet/minecraft/class_10275;)Z
      official a Ldve;a(Lcnw;)Z