net.minecraft.world.entity.decoration

public class LeashFenceKnotEntity

extends BlockAttachedEntity

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, ScoreHolder

ckx
net.minecraft.world.entity.decoration.LeashFenceKnotEntity
net.minecraft.class_1532
net.minecraft.entity.decoration.LeashKnotEntity
net.minecraft.world.entity.decoration.EntityLeash

Field summary

Modifier and TypeField
public static final double
b
OFFSET_Y
field_30455
field_30455

Constructor summary

ModifierConstructor
public (EntityType<? extends LeashFenceKnotEntity> arg0, Level arg1)
public (Level world, BlockPos pos)

Method summary

Modifier and TypeMethod
protected void
a(akc$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
protected void
l()
recalculateBoundingBox()
method_6895()
updateAttachmentPosition()
public boolean
a(double arg0)
shouldRenderAtSqrDistance(double arg0)
method_5640(double arg0)
shouldRender(double arg0)
public void
a(ard arg0, bum arg1)
dropItem(ServerLevel arg0, Entity arg1)
method_6889(class_3218 arg0, class_1297 arg1)
onBreak(ServerWorld arg0, Entity arg1)
public void
b(tq arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
public void
a(tq arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
public InteractionResult
a(coy arg0, bsk arg1)
interact(Player arg0, InteractionHand arg1)
method_5688(class_1657 arg0, class_1268 arg1)
interact(PlayerEntity arg0, Hand arg1)
public boolean
m()
survives()
method_6888()
canStayAttached()
public static LeashFenceKnotEntity
a(dgj arg0, ji arg1)
getOrCreateKnot(Level arg0, BlockPos arg1)
method_6932(class_1937 arg0, class_2338 arg1)
getOrCreate(World world, BlockPos pos)
public void
s()
playPlacementSound()
method_59944()
onPlace()
public Packet<ClientGamePacketListener>
a(arb arg0)
getAddEntityPacket(ServerEntity arg0)
method_18002(class_3231 arg0)
createSpawnPacket(EntityTrackerEntry arg0)
public Vec3
u(float arg0)
getRopeHoldPosition(float arg0)
method_30951(float arg0)
getLeashPos(float arg0)
public ItemStack
dI()
getPickResult()
method_31480()
getPickBlockStack()