public class PixelmonPaintingEntity
extends net.minecraft.entity.item.HangingEntity
Modifier and Type | Field and Description |
---|---|
protected EntityDataSyncManager |
dataSyncManager |
static DataSync<PixelmonPaintingEntity,net.minecraft.item.ItemStack> |
SYNC_ITEM_STACK |
blocksBuilding, boardingCooldown, DATA_POSE, DATA_SHARED_FLAGS_ID, ENTITY_COUNTER, entityData, fallDistance, firstTick, fluidHeight, fluidOnEyes, forcedLoading, glowing, hasImpulse, horizontalCollision, hurtMarked, inChunk, invulnerableTime, isInsidePortal, level, LOGGER, maxUpStep, moveDist, noCulling, noPhysics, onGround, portalEntrancePos, portalTime, pushthrough, random, removed, stringUUID, stuckSpeedMultiplier, tickCount, type, uuid, verticalCollision, walkDist, walkDistO, wasEyeInWater, wasTouchingWater, xChunk, xo, xOld, xRot, xRotO, yChunk, yo, yOld, yRot, yRotO, zChunk, zo, zOld
Constructor and Description |
---|
PixelmonPaintingEntity(net.minecraft.entity.EntityType<PixelmonPaintingEntity> type,
net.minecraft.world.World worldIn) |
PixelmonPaintingEntity(net.minecraft.world.World world) |
PixelmonPaintingEntity(net.minecraft.world.World worldIn,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.Direction facing) |
Modifier and Type | Method and Description |
---|---|
void |
addAdditionalSaveData(net.minecraft.nbt.CompoundNBT compound) |
protected void |
defineSynchedData() |
void |
dropItem(net.minecraft.entity.Entity brokenEntity) |
void |
dropItemOrSelf(net.minecraft.entity.Entity p_146065_1_,
boolean p_146065_2_) |
net.minecraft.network.IPacket<?> |
getAddEntityPacket() |
net.minecraft.item.ItemStack |
getDisplayedItem() |
int |
getHeight() |
int |
getWidth() |
net.minecraft.util.ActionResultType |
interact(net.minecraft.entity.player.PlayerEntity player,
net.minecraft.util.Hand hand) |
void |
onSyncedDataUpdated(net.minecraft.network.datasync.DataParameter<?> key) |
void |
playPlacementSound() |
void |
readAdditionalSaveData(net.minecraft.nbt.CompoundNBT compound) |
void |
recalculateBoundingBox() |
void |
setDisplayedItem(net.minecraft.item.ItemStack stack) |
boolean |
survives() |
getDirection, getPos, hurt, isPickable, mirror, move, push, refreshDimensions, repositionEntityAfterLoad, rotate, setDirection, setPos, skipAttackInteraction, spawnAtLocation, thunderHit, tick
absMoveTo, absMoveTo, acceptsFailure, acceptsSuccess, addPassenger, addTag, animateHurt, awardKillScore, baseTick, blockPosition, broadcastToPlayer, calculateUpVector, calculateViewVector, canAddPassenger, canBeCollidedWith, canChangeDimensions, canCollideWith, canEnterPose, canRide, canSpawnSprintParticle, canTrample, canUpdate, canUpdate, captureDrops, captureDrops, causeFallDamage, changeDimension, changeDimension, checkAndResetForcedChunkAdditionFlag, checkAndResetUpdateChunkPos, checkDespawn, checkFallDamage, checkInsideBlocks, clearFire, closerThan, collideBoundingBox, collideBoundingBoxHeuristically, collideBoundingBoxLegacy, copyPosition, createCommandSourceStack, createHoverEvent, displayFireAnimation, distanceTo, distanceToSqr, distanceToSqr, distanceToSqr, doEnchantDamageEffects, doWaterSplashEffect, ejectPassengers, equals, fillCrashReportCategory, findDimensionEntryPoint, fireImmune, getAirSupply, getAllSlots, getArmorSlots, getBbHeight, getBbWidth, getBlockExplosionResistance, getBlockJumpFactor, getBlockPosBelowThatAffectsMyMovement, getBlockSpeedFactor, getBlockStateOn, getBoundingBox, getBoundingBoxForCulling, getBoundingBoxForPose, getBrightness, getCollisionHorizontalEscapeVector, getCommandSenderWorld, getControllingPassenger, getCustomName, getDeltaMovement, getDimensionChangingDelay, getDimensions, getDismountLocationForPassenger, getDisplayName, getEncodeId, getEntityData, getExitPortal, getEyeHeight, getEyeHeight, getEyeHeight, getEyeHeightAccess, getEyePosition, getEyeY, getFireImmuneTicks, getFluidHeight, getFluidJumpThreshold, getForward, getHandSlots, getHorizontalDistanceSqr, getId, getIndirectPassengers, getLeashOffset, getLightProbePosition, getLookAngle, getMaxAirSupply, getMaxFallDistance, getMotionDirection, getMyRidingOffset, getName, getOnPos, getPacketCoordinates, getPassengers, getPassengersRidingOffset, getPermissionLevel, getPersistentData, getPickRadius, getPistonPushReaction, getPortalWaitTime, getPose, getPosition, getRandomX, getRandomY, getRandomZ, getRelativePortalPosition, getRemainingFireTicks, getRootVehicle, getRopeHoldPosition, getRotationVector, getScoreboardName, getSelfAndPassengers, getServer, getSharedFlag, getSoundSource, getStringUUID, getSwimHighSpeedSplashSound, getSwimSound, getSwimSplashSound, getTags, getTeam, getTeamColor, getType, getTypeName, getUpVector, getUUID, getVehicle, getViewScale, getViewVector, getViewXRot, getViewYRot, getX, getX, getY, getY, getYHeadRot, getZ, getZ, handleEntityEvent, handleInsidePortal, handleNetherPortal, hasCustomName, hashCode, hasIndirectPassenger, hasOnePlayerPassenger, hasPassenger, hasPassenger, hasPermissions, ignoreExplosion, interactAt, is, isAddedToWorld, isAlive, isAlliedTo, isAlliedTo, isAttackable, isColliding, isControlledByLocalInstance, isCrouching, isCustomNameVisible, isDescending, isDiscrete, isEyeInFluid, isFree, isGlowing, isIgnoringBlockTriggers, isInLava, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isInWall, isInWater, isInWaterOrBubble, isInWaterOrRain, isInWaterRainOrBubble, isMovementNoisy, isNoGravity, isOnFire, isOnGround, isOnPortalCooldown, isPassenger, isPassengerOfSameVehicle, isPushable, isPushedByFluid, isShiftKeyDown, isSilent, isSpectator, isSprinting, isSteppingCarefully, isSuppressingBounce, isSwimming, isUnderWater, isVehicle, isVisuallyCrawling, isVisuallySwimming, kill, killed, lavaHurt, lerpHeadTo, lerpMotion, lerpTo, limitPistonMovement, load, lookAt, makeFlySound, makeStuckInBlock, markHurt, maybeBackOffFromEdge, moveRelative, moveTo, moveTo, moveTo, moveTo, moveTowardsClosestSpace, newDoubleList, newFloatList, nextStep, onAboveBubbleCol, onAddedToWorld, onInsideBlock, onInsideBubbleColumn, onlyOpCanSetNbt, onPassengerTurned, onRemovedFromWorld, outOfWorld, pick, playerTouch, playFlySound, playSound, playStepSound, playSwimSound, position, positionRider, processPortalCooldown, push, reapplyPosition, remove, remove, removeAfterChangingDimensions, removePassenger, removeTag, removeVehicle, resetPos, restoreFrom, revive, rideableUnderWater, rideTick, save, saveAsPassenger, saveWithoutId, sendMessage, setAirSupply, setBoundingBox, setCustomName, setCustomNameVisible, setDeltaMovement, setDeltaMovement, setGlowing, setId, setInvisible, setInvulnerable, setItemSlot, setLevel, setLocationFromBoundingbox, setNoGravity, setOnGround, setPacketCoordinates, setPacketCoordinates, setPortalCooldown, setPosAndOldPos, setPose, setPosRaw, setRemainingFireTicks, setRot, setSecondsOnFire, setSharedFlag, setShiftKeyDown, setSilent, setSlot, setSprinting, setSwimming, setUUID, setViewScale, setYBodyRot, setYHeadRot, shouldBlockExplode, shouldInformAdmins, shouldRender, shouldRenderAtSqrDistance, shouldShowName, showVehicleHealth, spawnAtLocation, spawnAtLocation, spawnAtLocation, spawnSprintParticle, startRiding, startRiding, startSeenByPlayer, stopRiding, stopSeenByPlayer, teleportTo, teleportToWithTicket, toString, turn, unRide, updateFluidHeightAndDoFluidPushing, updateInWaterStateAndDoFluidPushing, updateSwimming
areCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, gatherCapabilities, getCapabilities, getCapability, invalidateCaps, reviveCaps, serializeCaps
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static final DataSync<PixelmonPaintingEntity,net.minecraft.item.ItemStack> SYNC_ITEM_STACK
protected EntityDataSyncManager dataSyncManager
public PixelmonPaintingEntity(net.minecraft.entity.EntityType<PixelmonPaintingEntity> type, net.minecraft.world.World worldIn)
public PixelmonPaintingEntity(net.minecraft.world.World world)
public PixelmonPaintingEntity(net.minecraft.world.World worldIn, net.minecraft.util.math.BlockPos pos, net.minecraft.util.Direction facing)
protected void defineSynchedData()
defineSynchedData
in class net.minecraft.entity.item.HangingEntity
public void readAdditionalSaveData(net.minecraft.nbt.CompoundNBT compound)
readAdditionalSaveData
in class net.minecraft.entity.item.HangingEntity
public void addAdditionalSaveData(net.minecraft.nbt.CompoundNBT compound)
addAdditionalSaveData
in class net.minecraft.entity.item.HangingEntity
public net.minecraft.util.ActionResultType interact(net.minecraft.entity.player.PlayerEntity player, net.minecraft.util.Hand hand)
interact
in class net.minecraft.entity.Entity
public net.minecraft.network.IPacket<?> getAddEntityPacket()
getAddEntityPacket
in class net.minecraft.entity.Entity
public void dropItem(net.minecraft.entity.Entity brokenEntity)
dropItem
in class net.minecraft.entity.item.HangingEntity
public void dropItemOrSelf(net.minecraft.entity.Entity p_146065_1_, boolean p_146065_2_)
public void recalculateBoundingBox()
recalculateBoundingBox
in class net.minecraft.entity.item.HangingEntity
public int getWidth()
getWidth
in class net.minecraft.entity.item.HangingEntity
public int getHeight()
getHeight
in class net.minecraft.entity.item.HangingEntity
public boolean survives()
survives
in class net.minecraft.entity.item.HangingEntity
public void setDisplayedItem(net.minecraft.item.ItemStack stack)
public net.minecraft.item.ItemStack getDisplayedItem()
public void playPlacementSound()
playPlacementSound
in class net.minecraft.entity.item.HangingEntity
public void onSyncedDataUpdated(net.minecraft.network.datasync.DataParameter<?> key)
onSyncedDataUpdated
in class net.minecraft.entity.Entity