public class ModularBoatEntity extends HulledBoatEntity implements IHoldable, net.minecraftforge.fml.common.registry.IEntityAdditionalSpawnData, net.minecraft.util.IItemProvider, IComparatorEntity
addedToChunk, cachedUniqueIdString, chunkCoordX, chunkCoordY, chunkCoordZ, collidedHorizontally, collidedVertically, dataManager, distanceWalkedModified, distanceWalkedOnStepModified, entityCollisionReduction, entityUniqueID, eyesFluidLevel, eyesInWater, fallDistance, field_241335_O_, field_242271_ac, firstUpdate, FLAGS, forceSpawn, glowing, hurtResistantTime, ignoreFrustumCheck, inPortal, inWater, isAirBorne, lastTickPosX, lastTickPosY, lastTickPosZ, LOGGER, motionMultiplier, noClip, onGround, portalCounter, POSE, prevDistanceWalkedModified, preventEntitySpawning, prevPosX, prevPosY, prevPosZ, prevRotationPitch, prevRotationYaw, rand, removed, rideCooldown, rotationPitch, rotationYaw, stepHeight, ticksExisted, velocityChanged, world| Constructor and Description |
|---|
ModularBoatEntity(net.minecraft.entity.EntityType<? extends ModularBoatEntity> type,
net.minecraft.world.World world) |
ModularBoatEntity(net.minecraft.world.World world,
double x,
double y,
double z) |
| Modifier and Type | Method and Description |
|---|---|
net.minecraft.util.ActionResultType |
applyPlayerInteraction(net.minecraft.entity.player.PlayerEntity player,
net.minecraft.util.math.vector.Vector3d vec,
net.minecraft.util.Hand hand) |
net.minecraft.item.Item |
asItem() |
boolean |
attackEntityFrom(net.minecraft.util.DamageSource source,
float amount) |
protected boolean |
canFitPassenger(net.minecraft.entity.Entity passenger) |
net.minecraft.network.IPacket<?> |
createSpawnPacket() |
<T> net.minecraftforge.common.util.LazyOptional<T> |
getCapability(net.minecraftforge.common.capabilities.Capability<T> cap,
net.minecraft.util.Direction side) |
int |
getComparatorLevel() |
ModularEntity<ModularBoatEntity> |
getModularEntity() |
void |
onHeld() |
void |
onRelease() |
void |
push(float xPush,
float zPush) |
protected void |
readAdditional(net.minecraft.nbt.CompoundNBT compound) |
void |
readSpawnData(net.minecraft.network.PacketBuffer spawnData) |
boolean |
showPaddles() |
void |
tick() |
protected void |
writeAdditional(net.minecraft.nbt.CompoundNBT compound) |
void |
writeSpawnData(net.minecraft.network.PacketBuffer spawnData) |
getHullType, setHullTypeaddPassenger, applyEntityCollision, applyOrientationToEntity, applyYawToEntity, canBeCollidedWith, canBePushed, canCollide, canSwim, canTriggerWalking, func_230268_c_, func_241839_a, func_241845_aY, func_242378_a, getAdjustedHorizontalFacing, getBoatGlide, getBoatType, getControllingPassenger, getDamageTaken, getEyeHeight, getForwardDirection, getItemBoat, getMountedYOffset, getPaddleSound, getPaddleState, getRockingAngle, getRowingTime, getTimeSinceHit, getWaterLevelAbove, onEnterBubbleColumnWithAirAbove, performHurtAnimation, processInitialInteract, registerData, setBoatType, setDamageTaken, setForwardDirection, setPaddleState, setPositionAndRotationDirect, setTimeSinceHit, updateFallState, updateInputs, updatePassengeraddTag, addTrackingPlayer, addVelocity, allowLogging, applyEnchantments, areEyesInFluid, awardKillScore, baseTick, calculateUpVector, canBeAttackedWithItem, canBeRidden, canBeRiddenInWater, canExplosionDestroyBlock, canPassengerSteer, canRenderOnFire, canTrample, canUpdate, canUpdate, captureDrops, captureDrops, changeDimension, changeDimension, checkDespawn, collideBoundingBox, collideBoundingBoxHeuristically, copyDataFromOld, copyLocationAndAnglesFrom, decrementTimeUntilPortal, detach, determineNextStepDistance, dismount, doBlockCollisions, doesEntityNotTriggerPressurePlate, doWaterSplashEffect, entityDropItem, entityDropItem, entityDropItem, entityDropItem, equals, extinguish, fillCrashReport, forceFireTicks, forceSetPosition, func_230269_aK_, func_233559_a_, func_233566_aG_, func_233569_aL_, func_233571_b_, func_233577_ch_, func_233578_ci_, func_233579_cu_, func_241205_ce_, func_241829_a, func_241830_a, func_241841_a, func_241842_k, func_241847_a, func_242274_V, func_242277_a, func_242278_a, func_242279_ag, func_242280_ah, func_242281_f, func_242282_l, getAir, getAllowedMovement, getAlwaysRenderNameTagForRender, getArmorInventoryList, getBoundingBox, getBoundingBox, getBrightness, getCachedUniqueIdString, getCollisionBorderSize, getCommandSource, getCustomName, getDataManager, getDisplayName, getDistance, getDistanceSq, getDistanceSq, getDistanceSq, getEntityId, getEntityString, getEntityWorld, getEquipmentAndArmor, getExplosionResistance, getEyeHeight, getEyeHeight, getEyePosition, getFireImmuneTicks, getFireTimer, getFlag, getForward, getHeight, getHeldEquipment, getHighspeedSplashSound, getHorizontalFacing, getHoverEvent, getJumpFactor, getLeashPosition, getLook, getLookVec, getLowestRidingEntity, getMaxAir, getMaxFallHeight, getMaxInPortalTime, getMirroredYaw, getMotion, getName, getOnPosition, getPassengers, getPermissionLevel, getPersistentData, getPitch, getPitchYaw, getPortalCooldown, getPose, getPosition, getPositionUnderneath, getPositionVec, getPosX, getPosXRandom, getPosXWidth, getPosY, getPosYEye, getPosYHeight, getPosYRandom, getPosZ, getPosZRandom, getPosZWidth, getProfessionName, getPushReaction, getRecursivePassengers, getRenderBoundingBox, getRenderDistanceWeight, getRidingEntity, getRotatedYaw, getRotationYawHead, getScoreboardName, getSelfAndPassengers, getServer, getSize, getSoundCategory, getSpeedFactor, getSplashSound, getStateBelow, getSwimSound, getTags, getTeam, getTeamColor, getType, getUniqueID, getUpVector, getVectorForRotation, getWidth, getYaw, getYOffset, handleFluidAcceleration, handlePistonMovement, handleStatusUpdate, hasCustomName, hashCode, hasNoGravity, hasPermissionLevel, hitByEntity, horizontalMag, ignoreItemEntityData, isActualySwimming, isAddedToWorld, isAlive, isBeingRidden, isBurning, isCrouching, isCustomNameVisible, isDescending, isDiscrete, isEntityEqual, isEntityInRange, isEntityInsideOpaqueBlock, isGlowing, isImmuneToExplosions, isImmuneToFire, isInLava, isInRangeToRender3d, isInRangeToRenderDist, isInvisible, isInvisibleToPlayer, isInvulnerable, isInvulnerableTo, isInWater, isInWaterOrBubbleColumn, isInWaterRainOrBubbleColumn, isLiving, isNonBoss, isOffsetPositionInLiquid, isOnePlayerRiding, isOnGround, isOnSameTeam, isOnScoreboardTeam, isPassenger, isPassenger, isPassenger, isPoseClear, isPushedByWater, isRidingOrBeingRiddenBy, isRidingSameEntity, isSilent, isSneaking, isSpectatedByPlayer, isSpectator, isSprinting, isSteppingCarefully, isSuppressingBounce, isSwimming, isVisuallySwimming, isWet, lookAt, makeFlySound, markVelocityChanged, maybeBackOffFromEdge, move, moveForced, moveForced, moveRelative, moveToBlockPosAndAngles, newDoubleNBTList, newFloatNBTList, notifyDataManagerChange, onAddedToWorld, onCollideWithPlayer, onEnterBubbleColumn, onInsideBlock, onKillCommand, onLivingFall, onRemovedFromWorld, outOfWorld, pick, playFlySound, playSound, playStepSound, playSwimSound, preparePlayerToSpawn, pushOutOfBlocks, read, recalculateSize, recenterBoundingBox, remove, remove, removePassenger, removePassengers, removeTag, removeTrackingPlayer, replaceItemInInventory, resetPositionToBB, revive, rotateTowards, sendMessage, setAir, setBoundingBox, setCustomName, setCustomNameVisible, setDead, setEntityId, setFire, setFlag, setGlowing, setHeadRotation, setInvisible, setInvulnerable, setItemStackToSlot, setLocationAndAngles, setMotion, setMotion, setMotionMultiplier, setNoGravity, setOnFireFromLava, setOnGround, setPacketCoordinates, setPortal, setPose, setPosition, setPositionAndRotation, setPositionAndUpdate, setRawPosition, setRenderDistanceWeight, setRenderYawOffset, setRotation, setRotationYawHead, setSilent, setSneaking, setSprinting, setSwimming, setUniqueId, setVelocity, setWorld, shouldReceiveErrors, shouldReceiveFeedback, shouldSetPosAfterLoading, startRiding, startRiding, stopRiding, teleportKeepLoaded, toString, updatePortal, updateRidden, updateSwimming, writeUnlessPassenger, writeUnlessRemoved, writeWithoutTypeIdareCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, getCapabilities, invalidateCaps, reviveCaps, serializeCapsclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic ModularBoatEntity(net.minecraft.entity.EntityType<? extends ModularBoatEntity> type, net.minecraft.world.World world)
public ModularBoatEntity(net.minecraft.world.World world,
double x,
double y,
double z)
public void tick()
tick in class net.minecraft.entity.item.BoatEntity@Nonnull
public <T> net.minecraftforge.common.util.LazyOptional<T> getCapability(@Nonnull
net.minecraftforge.common.capabilities.Capability<T> cap,
@Nullable
net.minecraft.util.Direction side)
getCapability in interface net.minecraftforge.common.capabilities.ICapabilityProvidergetCapability in class net.minecraftforge.common.capabilities.CapabilityProvider<net.minecraft.entity.Entity>@Nonnull
@ParametersAreNonnullByDefault
public net.minecraft.util.ActionResultType applyPlayerInteraction(net.minecraft.entity.player.PlayerEntity player,
net.minecraft.util.math.vector.Vector3d vec,
net.minecraft.util.Hand hand)
applyPlayerInteraction in class net.minecraft.entity.Entityprotected boolean canFitPassenger(@Nonnull
net.minecraft.entity.Entity passenger)
canFitPassenger in class net.minecraft.entity.item.BoatEntitypublic boolean showPaddles()
showPaddles in class HulledBoatEntitypublic boolean attackEntityFrom(@Nonnull
net.minecraft.util.DamageSource source,
float amount)
attackEntityFrom in class net.minecraft.entity.item.BoatEntityprotected void readAdditional(@Nonnull
net.minecraft.nbt.CompoundNBT compound)
readAdditional in class HulledBoatEntityprotected void writeAdditional(@Nonnull
net.minecraft.nbt.CompoundNBT compound)
writeAdditional in class HulledBoatEntity@Nonnull public net.minecraft.network.IPacket<?> createSpawnPacket()
createSpawnPacket in class HulledBoatEntitypublic void writeSpawnData(net.minecraft.network.PacketBuffer spawnData)
writeSpawnData in interface net.minecraftforge.fml.common.registry.IEntityAdditionalSpawnDatawriteSpawnData in class HulledBoatEntitypublic void readSpawnData(net.minecraft.network.PacketBuffer spawnData)
readSpawnData in interface net.minecraftforge.fml.common.registry.IEntityAdditionalSpawnDatareadSpawnData in class HulledBoatEntity@Nonnull public net.minecraft.item.Item asItem()
asItem in interface net.minecraft.util.IItemProviderpublic int getComparatorLevel()
getComparatorLevel in interface IComparatorEntitypublic ModularEntity<ModularBoatEntity> getModularEntity()