public class SuperGlueEntity extends net.minecraft.entity.Entity implements net.minecraftforge.fml.common.registry.IEntityAdditionalSpawnData, ISpecialEntityItemRequirement, com.jozufozu.flywheel.backend.instancing.IInstanceRendered
| Modifier and Type | Field and Description |
|---|---|
protected net.minecraft.util.Direction |
facingDirection |
protected net.minecraft.util.math.BlockPos |
hangingPosition |
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 |
|---|
SuperGlueEntity(net.minecraft.entity.EntityType<?> type,
net.minecraft.world.World world) |
SuperGlueEntity(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.Direction direction) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAdditionalSaveData(net.minecraft.nbt.CompoundNBT compound) |
static net.minecraft.entity.EntityType.Builder<?> |
build(net.minecraft.entity.EntityType.Builder<?> builder) |
protected void |
defineSynchedData() |
net.minecraft.network.IPacket<?> |
getAddEntityPacket() |
net.minecraft.util.Direction |
getAttachedDirection(net.minecraft.util.math.BlockPos pos) |
net.minecraft.util.Direction |
getDirection() |
protected float |
getEyeHeight(net.minecraft.entity.Pose poseIn,
net.minecraft.entity.EntitySize sizeIn) |
net.minecraft.util.Direction |
getFacingDirection() |
net.minecraft.util.math.BlockPos |
getHangingPosition() |
int |
getHeightPixels() |
net.minecraft.item.ItemStack |
getPickedResult(net.minecraft.util.math.RayTraceResult target) |
ItemRequirement |
getRequiredItems() |
int |
getWidthPixels() |
net.minecraft.world.World |
getWorld() |
boolean |
hurt(net.minecraft.util.DamageSource source,
float amount) |
net.minecraft.util.ActionResultType |
interact(net.minecraft.entity.player.PlayerEntity player,
net.minecraft.util.Hand hand) |
boolean |
isIgnoringBlockTriggers() |
boolean |
isPickable() |
static boolean |
isSideSticky(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.Direction direction) |
static boolean |
isValidFace(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.Direction direction) |
boolean |
isVisible() |
float |
mirror(net.minecraft.util.Mirror transformMirror) |
void |
move(net.minecraft.entity.MoverType typeIn,
net.minecraft.util.math.vector.Vector3d pos) |
void |
onBroken(net.minecraft.entity.Entity breaker) |
boolean |
onValidSurface() |
void |
playPlaceSound() |
void |
push(double x,
double y,
double z) |
void |
push(net.minecraft.entity.Entity entityIn) |
void |
readAdditionalSaveData(net.minecraft.nbt.CompoundNBT compound) |
void |
readSpawnData(net.minecraft.network.PacketBuffer additionalData) |
void |
refreshDimensions() |
protected boolean |
repositionEntityAfterLoad() |
float |
rotate(net.minecraft.util.Rotation transformRotation) |
void |
setPos(double x,
double y,
double z) |
boolean |
skipAttackInteraction(net.minecraft.entity.Entity entity) |
net.minecraft.entity.item.ItemEntity |
spawnAtLocation(net.minecraft.item.ItemStack stack,
float yOffset) |
void |
thunderHit(net.minecraft.world.server.ServerWorld world,
net.minecraft.entity.effect.LightningBoltEntity lightningBolt) |
void |
tick() |
protected void |
updateBoundingBox() |
protected void |
updateFacingWithBoundingBox() |
void |
writeSpawnData(net.minecraft.network.PacketBuffer buffer) |
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, 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, 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, onSyncedDataUpdated, outOfWorld, pick, playerTouch, playFlySound, playSound, playStepSound, playSwimSound, position, positionRider, positionRider, processPortalCooldown, 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, waitshouldRenderNormallyprotected net.minecraft.util.math.BlockPos hangingPosition
protected net.minecraft.util.Direction facingDirection
public SuperGlueEntity(net.minecraft.entity.EntityType<?> type,
net.minecraft.world.World world)
public SuperGlueEntity(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.Direction direction)
protected void defineSynchedData()
defineSynchedData in class net.minecraft.entity.Entitypublic int getWidthPixels()
public int getHeightPixels()
public void onBroken(@Nullable
net.minecraft.entity.Entity breaker)
public void playPlaceSound()
protected void updateFacingWithBoundingBox()
protected void updateBoundingBox()
public void tick()
tick in class net.minecraft.entity.Entitypublic boolean isVisible()
public boolean onValidSurface()
public static boolean isValidFace(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.Direction direction)
public static boolean isSideSticky(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.Direction direction)
public boolean isPickable()
isPickable in class net.minecraft.entity.Entitypublic boolean skipAttackInteraction(net.minecraft.entity.Entity entity)
skipAttackInteraction in class net.minecraft.entity.Entitypublic net.minecraft.util.Direction getDirection()
getDirection in class net.minecraft.entity.Entitypublic boolean hurt(net.minecraft.util.DamageSource source,
float amount)
hurt in class net.minecraft.entity.Entitypublic void move(net.minecraft.entity.MoverType typeIn,
net.minecraft.util.math.vector.Vector3d pos)
move in class net.minecraft.entity.Entitypublic void push(double x,
double y,
double z)
push in class net.minecraft.entity.Entityprotected float getEyeHeight(net.minecraft.entity.Pose poseIn,
net.minecraft.entity.EntitySize sizeIn)
getEyeHeight in class net.minecraft.entity.Entitypublic net.minecraft.item.ItemStack getPickedResult(net.minecraft.util.math.RayTraceResult target)
getPickedResult in interface net.minecraftforge.common.extensions.IForgeEntitypublic void push(net.minecraft.entity.Entity entityIn)
push in class net.minecraft.entity.Entitypublic net.minecraft.util.ActionResultType interact(net.minecraft.entity.player.PlayerEntity player,
net.minecraft.util.Hand hand)
interact in class net.minecraft.entity.Entitypublic void addAdditionalSaveData(net.minecraft.nbt.CompoundNBT compound)
addAdditionalSaveData in class net.minecraft.entity.Entitypublic void readAdditionalSaveData(net.minecraft.nbt.CompoundNBT compound)
readAdditionalSaveData in class net.minecraft.entity.Entitypublic net.minecraft.entity.item.ItemEntity spawnAtLocation(net.minecraft.item.ItemStack stack,
float yOffset)
spawnAtLocation in class net.minecraft.entity.Entityprotected boolean repositionEntityAfterLoad()
repositionEntityAfterLoad in class net.minecraft.entity.Entitypublic void setPos(double x,
double y,
double z)
setPos in class net.minecraft.entity.Entitypublic float rotate(net.minecraft.util.Rotation transformRotation)
rotate in class net.minecraft.entity.Entitypublic net.minecraft.util.math.BlockPos getHangingPosition()
public float mirror(net.minecraft.util.Mirror transformMirror)
mirror in class net.minecraft.entity.Entitypublic net.minecraft.util.Direction getAttachedDirection(net.minecraft.util.math.BlockPos pos)
public void thunderHit(net.minecraft.world.server.ServerWorld world,
net.minecraft.entity.effect.LightningBoltEntity lightningBolt)
thunderHit in class net.minecraft.entity.Entitypublic void refreshDimensions()
refreshDimensions in class net.minecraft.entity.Entitypublic 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 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.Direction getFacingDirection()
public ItemRequirement getRequiredItems()
getRequiredItems in interface ISpecialEntityItemRequirementpublic boolean isIgnoringBlockTriggers()
isIgnoringBlockTriggers in class net.minecraft.entity.Entitypublic net.minecraft.world.World getWorld()
getWorld in interface com.jozufozu.flywheel.backend.instancing.IInstanceRendered