Class MarkerEntity

java.lang.Object
net.minecraft.entity.Entity
net.minecraft.entity.MarkerEntity
All Implemented Interfaces:
CommandOutput, Nameable, EntityLike

public class MarkerEntity extends Entity
Mappings:
Namespace Name
official axb
intermediary net/minecraft/class_6335
named net/minecraft/entity/MarkerEntity
  • Field Details

    • DATA_KEY

      private static final String DATA_KEY
      The name of the compound tag that stores the marker's custom data.
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Laxb;b:Ljava/lang/String;
      intermediary field_33457 Lnet/minecraft/class_6335;field_33457:Ljava/lang/String;
      named DATA_KEY Lnet/minecraft/entity/MarkerEntity;DATA_KEY:Ljava/lang/String;
    • data

      private NbtCompound data
      Mappings:
      Namespace Name Mixin selector
      official c Laxb;c:Lob;
      intermediary field_33458 Lnet/minecraft/class_6335;field_33458:Lnet/minecraft/class_2487;
      named data Lnet/minecraft/entity/MarkerEntity;data:Lnet/minecraft/nbt/NbtCompound;
  • Constructor Details

    • MarkerEntity

      public MarkerEntity(EntityType<?> type, World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lawm;<init>(Lawq;Lbzw;)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

    • tick

      public void tick()
      Overrides:
      tick in class Entity
      Mappings:
      Namespace Name Mixin selector
      official k Lawm;k()V
      intermediary method_5773 Lnet/minecraft/class_1297;method_5773()V
      named tick Lnet/minecraft/entity/Entity;tick()V
    • initDataTracker

      protected void initDataTracker()
      Specified by:
      initDataTracker in class Entity
      Mappings:
      Namespace Name Mixin selector
      official a_ Lawm;a_()V
      intermediary method_5693 Lnet/minecraft/class_1297;method_5693()V
      named initDataTracker Lnet/minecraft/entity/Entity;initDataTracker()V
    • readCustomDataFromNbt

      protected void readCustomDataFromNbt(NbtCompound nbt)
      Specified by:
      readCustomDataFromNbt in class Entity
      Mappings:
      Namespace Name Mixin selector
      official a Lawm;a(Lob;)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)
      Specified by:
      writeCustomDataToNbt in class Entity
      Mappings:
      Namespace Name Mixin selector
      official b Lawm;b(Lob;)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
    • createSpawnPacket

      public Packet<?> createSpawnPacket()
      Specified by:
      createSpawnPacket in class Entity
      Mappings:
      Namespace Name Mixin selector
      official S Lawm;S()Lql;
      intermediary method_18002 Lnet/minecraft/class_1297;method_18002()Lnet/minecraft/class_2596;
      named createSpawnPacket Lnet/minecraft/entity/Entity;createSpawnPacket()Lnet/minecraft/network/Packet;
    • addPassenger

      protected void addPassenger(Entity passenger)
      Overrides:
      addPassenger in class Entity
      Mappings:
      Namespace Name Mixin selector
      official m Lawm;m(Lawm;)V
      intermediary method_5627 Lnet/minecraft/class_1297;method_5627(Lnet/minecraft/class_1297;)V
      named addPassenger Lnet/minecraft/entity/Entity;addPassenger(Lnet/minecraft/entity/Entity;)V
    • getPistonBehavior

      public PistonBehavior getPistonBehavior()
      Overrides:
      getPistonBehavior in class Entity
      Mappings:
      Namespace Name Mixin selector
      official c_ Lawm;c_()Ldho;
      intermediary method_5657 Lnet/minecraft/class_1297;method_5657()Lnet/minecraft/class_3619;
      named getPistonBehavior Lnet/minecraft/entity/Entity;getPistonBehavior()Lnet/minecraft/block/piston/PistonBehavior;