public class WormholeEntity
extends net.minecraft.entity.Entity
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 |
|---|
WormholeEntity(net.minecraft.entity.EntityType<WormholeEntity> type,
net.minecraft.world.World world) |
WormholeEntity(net.minecraft.world.World worldIn) |
WormholeEntity(net.minecraft.world.World worldIn,
double x,
double y,
double z,
int maxAge) |
WormholeEntity(net.minecraft.world.World worldIn,
double x,
double y,
double z,
int maxAge,
int color,
int yaw,
int pitch) |
WormholeEntity(net.minecraft.world.World worldIn,
int maxAge) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addAdditionalSaveData(net.minecraft.nbt.CompoundNBT compound) |
protected void |
defineSynchedData() |
net.minecraft.network.IPacket<?> |
getAddEntityPacket() |
net.minecraft.util.math.AxisAlignedBB |
getBoundingBoxForCulling() |
int |
getColor() |
int |
getPitch() |
int |
getYaw() |
boolean |
isAttackable() |
protected boolean |
isMovementNoisy() |
void |
lerpTo(double x,
double y,
double z,
float yaw,
float pitch,
int posRotationIncrements,
boolean teleport) |
void |
playerTouch(net.minecraft.entity.player.PlayerEntity entityIn) |
protected void |
readAdditionalSaveData(net.minecraft.nbt.CompoundNBT compound) |
void |
setPos(double x,
double y,
double z) |
boolean |
shouldRender(double p_145770_1_,
double p_145770_3_,
double p_145770_5_) |
boolean |
shouldRenderAtSqrDistance(double distance) |
void |
tick() |
static void |
wrapIntoWorldBorder(double[] pos,
net.minecraft.util.RegistryKey<net.minecraft.world.World> dimension) |
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, getBoundingBoxForPose, getBrightness, getCollisionHorizontalEscapeVector, getCommandSenderWorld, getControllingPassenger, getCustomName, getDeltaMovement, getDimensionChangingDelay, getDimensions, getDirection, 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, hurt, ignoreExplosion, interact, interactAt, is, isAddedToWorld, isAlive, isAlliedTo, isAlliedTo, isColliding, isControlledByLocalInstance, isCrouching, isCustomNameVisible, isDescending, isDiscrete, isEyeInFluid, isFree, isGlowing, isIgnoringBlockTriggers, isInLava, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isInWall, isInWater, isInWaterOrBubble, isInWaterOrRain, isInWaterRainOrBubble, isNoGravity, isOnFire, isOnGround, isOnPortalCooldown, isPassenger, isPassengerOfSameVehicle, isPickable, 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, mirror, move, moveRelative, moveTo, moveTo, moveTo, moveTo, moveTowardsClosestSpace, newDoubleList, newFloatList, nextStep, onAboveBubbleCol, onAddedToWorld, onInsideBlock, onInsideBubbleColumn, onlyOpCanSetNbt, onPassengerTurned, onRemovedFromWorld, onSyncedDataUpdated, outOfWorld, pick, playFlySound, playSound, playStepSound, playSwimSound, position, positionRider, processPortalCooldown, push, push, reapplyPosition, refreshDimensions, remove, remove, removeAfterChangingDimensions, removePassenger, removeTag, removeVehicle, repositionEntityAfterLoad, resetPos, restoreFrom, revive, rideableUnderWater, rideTick, rotate, 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, shouldShowName, showVehicleHealth, skipAttackInteraction, spawnAtLocation, spawnAtLocation, spawnAtLocation, spawnAtLocation, spawnSprintParticle, startRiding, startRiding, startSeenByPlayer, stopRiding, stopSeenByPlayer, teleportTo, teleportToWithTicket, thunderHit, toString, turn, unRide, updateFluidHeightAndDoFluidPushing, updateInWaterStateAndDoFluidPushing, updateSwimmingareCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, gatherCapabilities, getCapabilities, getCapability, invalidateCaps, reviveCaps, serializeCapsclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic WormholeEntity(net.minecraft.entity.EntityType<WormholeEntity> type, net.minecraft.world.World world)
public WormholeEntity(net.minecraft.world.World worldIn)
public WormholeEntity(net.minecraft.world.World worldIn,
int maxAge)
public WormholeEntity(net.minecraft.world.World worldIn,
double x,
double y,
double z,
int maxAge)
public WormholeEntity(net.minecraft.world.World worldIn,
double x,
double y,
double z,
int maxAge,
int color,
int yaw,
int pitch)
protected void defineSynchedData()
defineSynchedData in class net.minecraft.entity.Entitypublic void setPos(double x,
double y,
double z)
setPos in class net.minecraft.entity.Entitypublic boolean shouldRenderAtSqrDistance(double distance)
shouldRenderAtSqrDistance in class net.minecraft.entity.Entityprotected void readAdditionalSaveData(net.minecraft.nbt.CompoundNBT compound)
readAdditionalSaveData in class net.minecraft.entity.Entityprotected void addAdditionalSaveData(net.minecraft.nbt.CompoundNBT compound)
addAdditionalSaveData in class net.minecraft.entity.Entitypublic void lerpTo(double x,
double y,
double z,
float yaw,
float pitch,
int posRotationIncrements,
boolean teleport)
lerpTo in class net.minecraft.entity.Entitypublic net.minecraft.util.math.AxisAlignedBB getBoundingBoxForCulling()
getBoundingBoxForCulling in class net.minecraft.entity.Entitypublic void tick()
tick in class net.minecraft.entity.Entitypublic int getColor()
public void playerTouch(net.minecraft.entity.player.PlayerEntity entityIn)
playerTouch in class net.minecraft.entity.Entitypublic static void wrapIntoWorldBorder(double[] pos,
net.minecraft.util.RegistryKey<net.minecraft.world.World> dimension)
protected boolean isMovementNoisy()
isMovementNoisy in class net.minecraft.entity.Entitypublic boolean isAttackable()
isAttackable in class net.minecraft.entity.Entitypublic net.minecraft.network.IPacket<?> getAddEntityPacket()
getAddEntityPacket in class net.minecraft.entity.Entitypublic int getPitch()
public int getYaw()
public boolean shouldRender(double p_145770_1_,
double p_145770_3_,
double p_145770_5_)
shouldRender in class net.minecraft.entity.Entity