Class FallingBlockEntity

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

public class FallingBlockEntity extends Entity
Mappings:
Namespace Name
official bkp
intermediary net/minecraft/class_1540
named net/minecraft/entity/FallingBlockEntity
  • Field Details

    • field_35672

      private static final int field_35672
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official f Lbkp;f:I
      intermediary field_35672 Lnet/minecraft/class_1540;field_35672:I
      named field_35672 Lnet/minecraft/entity/FallingBlockEntity;field_35672:I
    • BLOCK_POS

      protected static final TrackedData<BlockPos> BLOCK_POS
      Mappings:
      Namespace Name Mixin selector
      official e Lbkp;e:Lxp;
      intermediary field_7195 Lnet/minecraft/class_1540;field_7195:Lnet/minecraft/class_2940;
      named BLOCK_POS Lnet/minecraft/entity/FallingBlockEntity;BLOCK_POS:Lnet/minecraft/entity/data/TrackedData;
    • block

      private BlockState block
      Mappings:
      Namespace Name Mixin selector
      official ap Lbkp;ap:Lcoc;
      intermediary field_7188 Lnet/minecraft/class_1540;field_7188:Lnet/minecraft/class_2680;
      named block Lnet/minecraft/entity/FallingBlockEntity;block:Lnet/minecraft/block/BlockState;
    • timeFalling

      public int timeFalling
      Mappings:
      Namespace Name Mixin selector
      official b Lbkp;b:I
      intermediary field_7192 Lnet/minecraft/class_1540;field_7192:I
      named timeFalling Lnet/minecraft/entity/FallingBlockEntity;timeFalling:I
    • dropItem

      public boolean dropItem
      Mappings:
      Namespace Name Mixin selector
      official c Lbkp;c:Z
      intermediary field_7193 Lnet/minecraft/class_1540;field_7193:Z
      named dropItem Lnet/minecraft/entity/FallingBlockEntity;dropItem:Z
    • destroyedOnLanding

      private boolean destroyedOnLanding
      Mappings:
      Namespace Name Mixin selector
      official aq Lbkp;aq:Z
      intermediary field_7189 Lnet/minecraft/class_1540;field_7189:Z
      named destroyedOnLanding Lnet/minecraft/entity/FallingBlockEntity;destroyedOnLanding:Z
    • hurtEntities

      private boolean hurtEntities
      Mappings:
      Namespace Name Mixin selector
      official ar Lbkp;ar:Z
      intermediary field_7191 Lnet/minecraft/class_1540;field_7191:Z
      named hurtEntities Lnet/minecraft/entity/FallingBlockEntity;hurtEntities:Z
    • fallHurtMax

      private int fallHurtMax
      Mappings:
      Namespace Name Mixin selector
      official as Lbkp;as:I
      intermediary field_7190 Lnet/minecraft/class_1540;field_7190:I
      named fallHurtMax Lnet/minecraft/entity/FallingBlockEntity;fallHurtMax:I
    • fallHurtAmount

      private float fallHurtAmount
      Mappings:
      Namespace Name Mixin selector
      official at Lbkp;at:F
      intermediary field_7187 Lnet/minecraft/class_1540;field_7187:F
      named fallHurtAmount Lnet/minecraft/entity/FallingBlockEntity;fallHurtAmount:F
    • discardTime

      private long discardTime
      Mappings:
      Namespace Name Mixin selector
      official au Lbkp;au:J
      intermediary field_35671 Lnet/minecraft/class_1540;field_35671:J
      named discardTime Lnet/minecraft/entity/FallingBlockEntity;discardTime:J
    • blockEntityData

      @Nullable public @Nullable NbtCompound blockEntityData
      Mappings:
      Namespace Name Mixin selector
      official d Lbkp;d:Loc;
      intermediary field_7194 Lnet/minecraft/class_1540;field_7194:Lnet/minecraft/class_2487;
      named blockEntityData Lnet/minecraft/entity/FallingBlockEntity;blockEntityData:Lnet/minecraft/nbt/NbtCompound;
  • Constructor Details

    • FallingBlockEntity

      public FallingBlockEntity(EntityType<? extends FallingBlockEntity> type, World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lawt;<init>(Lawx;Lcad;)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
    • FallingBlockEntity

      public FallingBlockEntity(World world, double x, double y, double z, BlockState block)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbkp;<init>(Lcad;DDDLcoc;)V
      intermediary <init> Lnet/minecraft/class_1540;<init>(Lnet/minecraft/class_1937;DDDLnet/minecraft/class_2680;)V
      named <init> Lnet/minecraft/entity/FallingBlockEntity;<init>(Lnet/minecraft/world/World;DDDLnet/minecraft/block/BlockState;)V
  • Method Details

    • isAttackable

      public boolean isAttackable()
      Overrides:
      isAttackable in class Entity
      Mappings:
      Namespace Name Mixin selector
      official cf Lawt;cf()Z
      intermediary method_5732 Lnet/minecraft/class_1297;method_5732()Z
      named isAttackable Lnet/minecraft/entity/Entity;isAttackable()Z
    • setFallingBlockPos

      public void setFallingBlockPos(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Lbkp;a(Lgh;)V
      intermediary method_6963 Lnet/minecraft/class_1540;method_6963(Lnet/minecraft/class_2338;)V
      named setFallingBlockPos Lnet/minecraft/entity/FallingBlockEntity;setFallingBlockPos(Lnet/minecraft/util/math/BlockPos;)V
    • getFallingBlockPos

      public BlockPos getFallingBlockPos()
      Mappings:
      Namespace Name Mixin selector
      official h Lbkp;h()Lgh;
      intermediary method_6964 Lnet/minecraft/class_1540;method_6964()Lnet/minecraft/class_2338;
      named getFallingBlockPos Lnet/minecraft/entity/FallingBlockEntity;getFallingBlockPos()Lnet/minecraft/util/math/BlockPos;
    • getMoveEffect

      protected Entity.MoveEffect getMoveEffect()
      Returns the possible effect(s) of an entity moving.
      Overrides:
      getMoveEffect in class Entity
      Mappings:
      Namespace Name Mixin selector
      official aN Lawt;aN()Lawt$b;
      intermediary method_33570 Lnet/minecraft/class_1297;method_33570()Lnet/minecraft/class_1297$class_5799;
      named getMoveEffect Lnet/minecraft/entity/Entity;getMoveEffect()Lnet/minecraft/entity/Entity$MoveEffect;
    • initDataTracker

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

      public boolean collides()
      Overrides:
      collides in class Entity
      Mappings:
      Namespace Name Mixin selector
      official bh Lawt;bh()Z
      intermediary method_5863 Lnet/minecraft/class_1297;method_5863()Z
      named collides Lnet/minecraft/entity/Entity;collides()Z
    • tick

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

      public void setRemoved(Entity.RemovalReason reason)
      Specified by:
      setRemoved in interface EntityLike
      Overrides:
      setRemoved in class Entity
      Mappings:
      Namespace Name Mixin selector
      official b Lcro;b(Lawt$c;)V
      intermediary method_31745 Lnet/minecraft/class_5568;method_31745(Lnet/minecraft/class_1297$class_5529;)V
      named setRemoved Lnet/minecraft/world/entity/EntityLike;setRemoved(Lnet/minecraft/entity/Entity$RemovalReason;)V
    • onDestroyedOnLanding

      public void onDestroyedOnLanding(Block block, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Lbkp;a(Lccy;Lgh;)V
      intermediary method_32752 Lnet/minecraft/class_1540;method_32752(Lnet/minecraft/class_2248;Lnet/minecraft/class_2338;)V
      named onDestroyedOnLanding Lnet/minecraft/entity/FallingBlockEntity;onDestroyedOnLanding(Lnet/minecraft/block/Block;Lnet/minecraft/util/math/BlockPos;)V
    • handleFallDamage

      public boolean handleFallDamage(float fallDistance, float damageMultiplier, DamageSource damageSource)
      Overrides:
      handleFallDamage in class Entity
      Mappings:
      Namespace Name Mixin selector
      official a Lawt;a(FFLawd;)Z
      intermediary method_5747 Lnet/minecraft/class_1297;method_5747(FFLnet/minecraft/class_1282;)Z
      named handleFallDamage Lnet/minecraft/entity/Entity;handleFallDamage(FFLnet/minecraft/entity/damage/DamageSource;)Z
    • writeCustomDataToNbt

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

      protected void readCustomDataFromNbt(NbtCompound nbt)
      Specified by:
      readCustomDataFromNbt in class Entity
      Mappings:
      Namespace Name Mixin selector
      official a Lawt;a(Loc;)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
    • setHurtEntities

      public void setHurtEntities(float fallHurtAmount, int fallHurtMax)
      Mappings:
      Namespace Name Mixin selector
      official b Lbkp;b(FI)V
      intermediary method_6965 Lnet/minecraft/class_1540;method_6965(FI)V
      named setHurtEntities Lnet/minecraft/entity/FallingBlockEntity;setHurtEntities(FI)V
    • doesRenderOnFire

      public boolean doesRenderOnFire()
      Overrides:
      doesRenderOnFire in class Entity
      Mappings:
      Namespace Name Mixin selector
      official cl Lawt;cl()Z
      intermediary method_5862 Lnet/minecraft/class_1297;method_5862()Z
      named doesRenderOnFire Lnet/minecraft/entity/Entity;doesRenderOnFire()Z
    • populateCrashReport

      public void populateCrashReport(CrashReportSection section)
      Overrides:
      populateCrashReport in class Entity
      Mappings:
      Namespace Name Mixin selector
      official a Lawt;a(Lr;)V
      intermediary method_5819 Lnet/minecraft/class_1297;method_5819(Lnet/minecraft/class_129;)V
      named populateCrashReport Lnet/minecraft/entity/Entity;populateCrashReport(Lnet/minecraft/util/crash/CrashReportSection;)V
    • getBlockState

      public BlockState getBlockState()
      Mappings:
      Namespace Name Mixin selector
      official i Lbkp;i()Lcoc;
      intermediary method_6962 Lnet/minecraft/class_1540;method_6962()Lnet/minecraft/class_2680;
      named getBlockState Lnet/minecraft/entity/FallingBlockEntity;getBlockState()Lnet/minecraft/block/BlockState;
    • entityDataRequiresOperator

      public boolean entityDataRequiresOperator()
      Overrides:
      entityDataRequiresOperator in class Entity
      Mappings:
      Namespace Name Mixin selector
      official cD Lawt;cD()Z
      intermediary method_5833 Lnet/minecraft/class_1297;method_5833()Z
      named entityDataRequiresOperator Lnet/minecraft/entity/Entity;entityDataRequiresOperator()Z
    • createSpawnPacket

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

      public void onSpawnPacket(EntitySpawnS2CPacket packet)
      Overrides:
      onSpawnPacket in class Entity
      Mappings:
      Namespace Name Mixin selector
      official a Lawt;a(Lqv;)V
      intermediary method_31471 Lnet/minecraft/class_1297;method_31471(Lnet/minecraft/class_2604;)V
      named onSpawnPacket Lnet/minecraft/entity/Entity;onSpawnPacket(Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;)V