Package net.minecraft

Class class_8113.class_8115

All Implemented Interfaces:
CommandOutput, Nameable, EntityLike
Enclosing class:
class_8113

public static class class_8113.class_8115 extends class_8113
Mappings:
Namespace Name
official bex$b
intermediary net/minecraft/class_8113$class_8115
named net/minecraft/class_8113$class_8115
  • Field Details

    • field_42415

      public static final String field_42415
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official o Lbex$b;o:Ljava/lang/String;
      intermediary field_42415 Lnet/minecraft/class_8113$class_8115;field_42415:Ljava/lang/String;
      named field_42415 Lnet/minecraft/class_8113$class_8115;field_42415:Ljava/lang/String;
    • field_42416

      private static final TrackedData<BlockState> field_42416
      Mappings:
      Namespace Name Mixin selector
      official p Lbex$b;p:Lace;
      intermediary field_42416 Lnet/minecraft/class_8113$class_8115;field_42416:Lnet/minecraft/class_2940;
      named field_42416 Lnet/minecraft/class_8113$class_8115;field_42416:Lnet/minecraft/entity/data/TrackedData;
  • Constructor Details

    • class_8115

      public class_8115(EntityType<?> type, World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbey;<init>(Lbfc;Lclt;)V
      intermediary <init> Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)V
      named <init> Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
  • Method Details

    • initDataTracker

      protected void initDataTracker()
      Initializes data tracker.
      Overrides:
      initDataTracker in class class_8113
      Mappings:
      Namespace Name Mixin selector
      official a_ Lbey;a_()V
      intermediary method_5693 Lnet/minecraft/class_1297;method_5693()V
      named initDataTracker Lnet/minecraft/entity/Entity;initDataTracker()V
    • method_48884

      public BlockState method_48884()
      Mappings:
      Namespace Name Mixin selector
      official o Lbex$b;o()Ldaq;
      intermediary method_48884 Lnet/minecraft/class_8113$class_8115;method_48884()Lnet/minecraft/class_2680;
      named method_48884 Lnet/minecraft/class_8113$class_8115;method_48884()Lnet/minecraft/block/BlockState;
    • method_48883

      public void method_48883(BlockState blockState)
      Mappings:
      Namespace Name Mixin selector
      official b Lbex$b;b(Ldaq;)V
      intermediary method_48883 Lnet/minecraft/class_8113$class_8115;method_48883(Lnet/minecraft/class_2680;)V
      named method_48883 Lnet/minecraft/class_8113$class_8115;method_48883(Lnet/minecraft/block/BlockState;)V
    • readCustomDataFromNbt

      protected void readCustomDataFromNbt(NbtCompound nbt)
      Reads custom data from nbt. Subclasses has to implement this.

      NBT is a storage format; therefore, a data from NBT is loaded to an entity instance's fields, which are used for other operations instead of the NBT. The data is written back to NBT when saving the entity.

      nbt might not have all expected keys, or might have a key whose value does not meet the requirement (such as the type or the range). This method should fall back to a reasonable default value instead of throwing an exception.

      Overrides:
      readCustomDataFromNbt in class class_8113
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lbey;a(Lqy;)V
      intermediary method_5749 Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)V
      named readCustomDataFromNbt Lnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
    • writeCustomDataToNbt

      protected void writeCustomDataToNbt(NbtCompound nbt)
      Writes custom data to nbt. Subclasses has to implement this.

      NBT is a storage format; therefore, a data from NBT is loaded to an entity instance's fields, which are used for other operations instead of the NBT. The data is written back to NBT when saving the entity.

      Overrides:
      writeCustomDataToNbt in class class_8113
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Lbey;b(Lqy;)V
      intermediary method_5652 Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)V
      named writeCustomDataToNbt Lnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V