public class BlueprintEntity extends net.minecraft.entity.item.HangingEntity implements net.minecraftforge.fml.common.registry.IEntityAdditionalSpawnData, ISpecialEntityItemRequirement, ISyncPersistentData, IInteractionChecker
net.minecraft.entity.Entity.IMoveCallbackISyncPersistentData.Packet| Modifier and Type | Field and Description |
|---|---|
protected int |
size |
protected net.minecraft.util.Direction |
verticalOrientation |
blocksBuilding, boardingCooldown, DATA_POSE, DATA_SHARED_FLAGS_ID, 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, uuid, verticalCollision, walkDist, walkDistO, wasEyeInWater, wasTouchingWater, xChunk, xo, xOld, xRot, xRotO, yChunk, yo, yOld, yRot, yRotO, zChunk, zo, zOld| Constructor and Description |
|---|
BlueprintEntity(net.minecraft.entity.EntityType<?> p_i50221_1_,
net.minecraft.world.World p_i50221_2_) |
BlueprintEntity(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.Direction facing,
net.minecraft.util.Direction verticalOrientation) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAdditionalSaveData(net.minecraft.nbt.CompoundNBT p_213281_1_) |
static net.minecraft.entity.EntityType.Builder<?> |
build(net.minecraft.entity.EntityType.Builder<?> builder) |
boolean |
canPlayerUse(net.minecraft.entity.player.PlayerEntity player) |
void |
dropItem(net.minecraft.entity.Entity p_110128_1_) |
net.minecraft.network.IPacket<?> |
getAddEntityPacket() |
protected float |
getEyeHeight(net.minecraft.entity.Pose p_213316_1_,
net.minecraft.entity.EntitySize p_213316_2_) |
int |
getHeight() |
net.minecraft.nbt.CompoundNBT |
getOrCreateRecipeCompound() |
net.minecraft.item.ItemStack |
getPickedResult(net.minecraft.util.math.RayTraceResult target) |
ItemRequirement |
getRequiredItems() |
com.simibubi.create.content.curiosities.tools.BlueprintEntity.BlueprintSection |
getSection(int index) |
com.simibubi.create.content.curiosities.tools.BlueprintEntity.BlueprintSection |
getSectionAt(net.minecraft.util.math.vector.Vector3d vec) |
int |
getWidth() |
net.minecraft.util.ActionResultType |
interactAt(net.minecraft.entity.player.PlayerEntity player,
net.minecraft.util.math.vector.Vector3d vec,
net.minecraft.util.Hand hand) |
void |
lerpTo(double p_180426_1_,
double p_180426_3_,
double p_180426_5_,
float p_180426_7_,
float p_180426_8_,
int p_180426_9_,
boolean p_180426_10_) |
void |
moveTo(double p_70012_1_,
double p_70012_3_,
double p_70012_5_,
float p_70012_7_,
float p_70012_8_) |
void |
onPersistentDataUpdated() |
void |
playPlacementSound() |
void |
readAdditionalSaveData(net.minecraft.nbt.CompoundNBT p_70037_1_) |
void |
readSpawnData(net.minecraft.network.PacketBuffer additionalData) |
protected void |
recalculateBoundingBox() |
boolean |
skipAttackInteraction(net.minecraft.entity.Entity source) |
boolean |
survives() |
protected void |
updateFacingWithBoundingBox(net.minecraft.util.Direction facing,
net.minecraft.util.Direction verticalOrientation) |
void |
writeSpawnData(net.minecraft.network.PacketBuffer buffer) |
defineSynchedData, getDirection, getPos, hurt, isPickable, mirror, move, push, refreshDimensions, repositionEntityAfterLoad, rotate, setDirection, setPos, spawnAtLocation, thunderHit, tickabsMoveTo, 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, 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, interact, 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, limitPistonMovement, load, lookAt, makeFlySound, makeStuckInBlock, markHurt, maybeBackOffFromEdge, moveRelative, moveTo, moveTo, moveTo, moveTowardsClosestSpace, newDoubleList, newFloatList, nextStep, onAboveBubbleCol, onAddedToWorld, onInsideBlock, onInsideBubbleColumn, onlyOpCanSetNbt, onPassengerTurned, onRemovedFromWorld, onSyncedDataUpdated, outOfWorld, pick, playerTouch, playFlySound, playSound, playStepSound, playSwimSound, position, positionRider, 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, updateSwimmingareCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, getCapabilities, getCapability, invalidateCaps, reviveCaps, serializeCapsclone, finalize, getClass, notify, notifyAll, wait, wait, waitsyncPersistentDataWithTrackingprotected int size
protected net.minecraft.util.Direction verticalOrientation
public BlueprintEntity(net.minecraft.entity.EntityType<?> p_i50221_1_,
net.minecraft.world.World p_i50221_2_)
public BlueprintEntity(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.Direction facing,
net.minecraft.util.Direction verticalOrientation)
public static net.minecraft.entity.EntityType.Builder<?> build(net.minecraft.entity.EntityType.Builder<?> builder)
public net.minecraft.network.IPacket<?> getAddEntityPacket()
getAddEntityPacket in class net.minecraft.entity.Entitypublic void addAdditionalSaveData(net.minecraft.nbt.CompoundNBT p_213281_1_)
addAdditionalSaveData in class net.minecraft.entity.item.HangingEntitypublic void readAdditionalSaveData(net.minecraft.nbt.CompoundNBT p_70037_1_)
readAdditionalSaveData in class net.minecraft.entity.item.HangingEntityprotected void updateFacingWithBoundingBox(net.minecraft.util.Direction facing,
net.minecraft.util.Direction verticalOrientation)
protected float getEyeHeight(net.minecraft.entity.Pose p_213316_1_,
net.minecraft.entity.EntitySize p_213316_2_)
getEyeHeight in class net.minecraft.entity.Entityprotected void recalculateBoundingBox()
recalculateBoundingBox in class net.minecraft.entity.item.HangingEntitypublic boolean survives()
survives in class net.minecraft.entity.item.HangingEntitypublic int getWidth()
getWidth in class net.minecraft.entity.item.HangingEntitypublic int getHeight()
getHeight in class net.minecraft.entity.item.HangingEntitypublic boolean skipAttackInteraction(net.minecraft.entity.Entity source)
skipAttackInteraction in class net.minecraft.entity.item.HangingEntitypublic void dropItem(@Nullable
net.minecraft.entity.Entity p_110128_1_)
dropItem in class net.minecraft.entity.item.HangingEntitypublic net.minecraft.item.ItemStack getPickedResult(net.minecraft.util.math.RayTraceResult target)
getPickedResult in interface net.minecraftforge.common.extensions.IForgeEntitypublic ItemRequirement getRequiredItems()
getRequiredItems in interface ISpecialEntityItemRequirementpublic void playPlacementSound()
playPlacementSound in class net.minecraft.entity.item.HangingEntitypublic void moveTo(double p_70012_1_,
double p_70012_3_,
double p_70012_5_,
float p_70012_7_,
float p_70012_8_)
moveTo in class net.minecraft.entity.Entitypublic void lerpTo(double p_180426_1_,
double p_180426_3_,
double p_180426_5_,
float p_180426_7_,
float p_180426_8_,
int p_180426_9_,
boolean p_180426_10_)
lerpTo in class net.minecraft.entity.Entitypublic void writeSpawnData(net.minecraft.network.PacketBuffer buffer)
writeSpawnData in interface net.minecraftforge.fml.common.registry.IEntityAdditionalSpawnDatapublic void readSpawnData(net.minecraft.network.PacketBuffer additionalData)
readSpawnData in interface net.minecraftforge.fml.common.registry.IEntityAdditionalSpawnDatapublic net.minecraft.util.ActionResultType interactAt(net.minecraft.entity.player.PlayerEntity player,
net.minecraft.util.math.vector.Vector3d vec,
net.minecraft.util.Hand hand)
interactAt in class net.minecraft.entity.Entitypublic com.simibubi.create.content.curiosities.tools.BlueprintEntity.BlueprintSection getSectionAt(net.minecraft.util.math.vector.Vector3d vec)
public net.minecraft.nbt.CompoundNBT getOrCreateRecipeCompound()
public com.simibubi.create.content.curiosities.tools.BlueprintEntity.BlueprintSection getSection(int index)
public void onPersistentDataUpdated()
onPersistentDataUpdated in interface ISyncPersistentDatapublic boolean canPlayerUse(net.minecraft.entity.player.PlayerEntity player)
canPlayerUse in interface IInteractionChecker