public class PixelmonBoatEntity
extends net.minecraft.entity.item.BoatEntity
Modifier and Type | Field and Description |
---|---|
protected EntityDataSyncManager |
dataSyncManager |
static DataSync<PixelmonBoatEntity,net.minecraft.block.WoodType> |
WOOD_TYPE_DATA_SYNC |
protected net.minecraft.block.WoodType |
woodType |
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 |
---|
PixelmonBoatEntity(net.minecraft.entity.EntityType<? extends net.minecraft.entity.item.BoatEntity> p_i50129_1_,
net.minecraft.world.World p_i50129_2_) |
PixelmonBoatEntity(net.minecraft.world.World level,
double x,
double y,
double z) |
Modifier and Type | Method and Description |
---|---|
protected void |
addAdditionalSaveData(net.minecraft.nbt.CompoundNBT nbt) |
protected <A> void |
define(DataSync<?,A> sync,
A value) |
protected void |
defineSynchedData() |
net.minecraft.network.IPacket<?> |
getAddEntityPacket() |
net.minecraft.item.Item |
getDropItem() |
net.minecraft.item.ItemStack |
getPickedResult(net.minecraft.util.math.RayTraceResult target) |
net.minecraft.block.WoodType |
getWoodType() |
void |
onSyncedDataUpdated(net.minecraft.network.datasync.DataParameter<?> key) |
protected void |
readAdditionalSaveData(net.minecraft.nbt.CompoundNBT nbt) |
void |
setWoodType(net.minecraft.block.WoodType woodType) |
addPassenger, animateHurt, canAddPassenger, canBeCollidedWith, canCollideWith, canVehicleCollide, checkFallDamage, clampRotation, getBoatType, getBubbleAngle, getControllingPassenger, getDamage, getDismountLocationForPassenger, getEyeHeight, getGroundFriction, getHurtDir, getHurtTime, getMotionDirection, getPaddleSound, getPaddleState, getPassengersRidingOffset, getRelativePortalPosition, getRowingTime, getWaterLevelAbove, hurt, interact, isMovementNoisy, isPickable, isPushable, isUnderWater, lerpTo, onAboveBubbleCol, onPassengerTurned, positionRider, push, setDamage, setHurtDir, setHurtTime, setInput, setPaddleState, setType, tick
absMoveTo, absMoveTo, acceptsFailure, acceptsSuccess, addTag, awardKillScore, baseTick, blockPosition, broadcastToPlayer, calculateUpVector, calculateViewVector, canChangeDimensions, canEnterPose, canRide, canSpawnSprintParticle, canTrample, canUpdate, canUpdate, captureDrops, captureDrops, causeFallDamage, changeDimension, changeDimension, checkAndResetForcedChunkAdditionFlag, checkAndResetUpdateChunkPos, checkDespawn, 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, getCustomName, getDeltaMovement, getDimensionChangingDelay, getDimensions, getDirection, getDisplayName, getEncodeId, getEntityData, getExitPortal, getEyeHeight, getEyeHeight, getEyeHeightAccess, getEyePosition, getEyeY, getFireImmuneTicks, getFluidHeight, getFluidJumpThreshold, getForward, getHandSlots, getHorizontalDistanceSqr, getId, getIndirectPassengers, getLeashOffset, getLightProbePosition, getLookAngle, getMaxAirSupply, getMaxFallDistance, getMyRidingOffset, getName, getOnPos, getPacketCoordinates, getPassengers, getPermissionLevel, getPersistentData, getPickRadius, getPistonPushReaction, getPortalWaitTime, getPose, getPosition, getRandomX, getRandomY, getRandomZ, 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, isNoGravity, isOnFire, isOnGround, isOnPortalCooldown, isPassenger, isPassengerOfSameVehicle, isPushedByFluid, isShiftKeyDown, isSilent, isSpectator, isSprinting, isSteppingCarefully, isSuppressingBounce, isSwimming, 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, onAddedToWorld, onInsideBlock, onInsideBubbleColumn, onlyOpCanSetNbt, onRemovedFromWorld, outOfWorld, pick, playerTouch, playFlySound, playSound, playStepSound, playSwimSound, position, processPortalCooldown, 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, setPos, setPosAndOldPos, setPose, setPosRaw, setRemainingFireTicks, setRot, setSecondsOnFire, setSharedFlag, setShiftKeyDown, setSilent, setSlot, setSprinting, setSwimming, setUUID, setViewScale, setYBodyRot, setYHeadRot, shouldBlockExplode, shouldInformAdmins, shouldRender, shouldRenderAtSqrDistance, shouldShowName, showVehicleHealth, skipAttackInteraction, spawnAtLocation, spawnAtLocation, spawnAtLocation, spawnAtLocation, spawnSprintParticle, startRiding, startRiding, startSeenByPlayer, stopRiding, stopSeenByPlayer, teleportTo, teleportToWithTicket, thunderHit, 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<PixelmonBoatEntity,net.minecraft.block.WoodType> WOOD_TYPE_DATA_SYNC
protected net.minecraft.block.WoodType woodType
protected EntityDataSyncManager dataSyncManager
public PixelmonBoatEntity(net.minecraft.entity.EntityType<? extends net.minecraft.entity.item.BoatEntity> p_i50129_1_, net.minecraft.world.World p_i50129_2_)
public PixelmonBoatEntity(net.minecraft.world.World level, double x, double y, double z)
protected void defineSynchedData()
defineSynchedData
in class net.minecraft.entity.item.BoatEntity
protected <A> void define(DataSync<?,A> sync, A value)
public net.minecraft.item.Item getDropItem()
getDropItem
in class net.minecraft.entity.item.BoatEntity
public net.minecraft.block.WoodType getWoodType()
public void setWoodType(net.minecraft.block.WoodType woodType)
public net.minecraft.item.ItemStack getPickedResult(net.minecraft.util.math.RayTraceResult target)
public net.minecraft.network.IPacket<?> getAddEntityPacket()
getAddEntityPacket
in class net.minecraft.entity.item.BoatEntity
protected void addAdditionalSaveData(net.minecraft.nbt.CompoundNBT nbt)
addAdditionalSaveData
in class net.minecraft.entity.item.BoatEntity
protected void readAdditionalSaveData(net.minecraft.nbt.CompoundNBT nbt)
readAdditionalSaveData
in class net.minecraft.entity.item.BoatEntity
public void onSyncedDataUpdated(net.minecraft.network.datasync.DataParameter<?> key)
onSyncedDataUpdated
in class net.minecraft.entity.Entity