Package net.minecraft
Class class_7264
java.lang.Object
net.minecraft.entity.Entity
net.minecraft.entity.vehicle.BoatEntity
net.minecraft.class_7264
- All Implemented Interfaces:
class_7248,class_7265,Inventory,NamedScreenHandlerFactory,ScreenHandlerFactory,CommandOutput,Clearable,Nameable,EntityLike
- Mappings:
Namespace Name official bsaintermediary net/minecraft/class_7264named net/minecraft/class_7264
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.vehicle.BoatEntity
BoatEntity.Location, BoatEntity.TypeNested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.MoveEffect, Entity.PositionUpdater, Entity.RemovalReason -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate DefaultedList<ItemStack>private @Nullable Identifierprivate longprivate static final intFields inherited from class net.minecraft.entity.vehicle.BoatEntity
field_30697, field_30698, field_30699, field_30700Fields inherited from class net.minecraft.entity.Entity
age, collidedSoftly, dataTracker, DEFAULT_FRICTION, DEFAULT_MIN_FREEZE_DAMAGE_TICKS, DEFAULT_PORTAL_COOLDOWN, distanceTraveled, FALL_FLYING_FLAG_INDEX, fallDistance, field_29974, field_29991, field_36331, firstUpdate, FLAGS, fluidHeight, FREEZING_DAMAGE_INTERVAL, GLOWING_FLAG_INDEX, horizontalCollision, horizontalSpeed, ID_KEY, ignoreCameraFrustum, inNetherPortal, inPowderSnow, intersectionChecked, lastNetherPortalPosition, lastRenderX, lastRenderY, lastRenderZ, MAX_RIDING_COOLDOWN, MAX_SCOREBOARD_TAGS, movementMultiplier, netherPortalTime, noClip, ON_FIRE_FLAG_INDEX, onGround, PASSENGERS_KEY, POSE, prevHorizontalSpeed, prevPitch, prevX, prevY, prevYaw, prevZ, random, ridingCooldown, speed, stepHeight, submergedInWater, timeUntilRegen, touchingWater, uuid, UUID_KEY, uuidString, VELOCITY_AFFECTING_POS_Y_OFFSET, velocityDirty, velocityModified, verticalCollision, wasInPowderSnow, wasOnFire, worldFields inherited from interface net.minecraft.server.command.CommandOutput
DUMMYFields inherited from interface net.minecraft.inventory.Inventory
MAX_COUNT_PER_STACK -
Constructor Summary
ConstructorsConstructorDescriptionclass_7264(EntityType<? extends BoatEntity> type, World world) class_7264(World world, double x, double y, double z) -
Method Summary
Modifier and TypeMethodDescriptionasItem()booleancanPlayerUse(PlayerEntity player) voidclear()createMenu(int syncId, PlayerInventory inv, PlayerEntity player) getStack(int slot) Fetches the stack currently stored at the given slot.getStackReference(int mappedIndex) Obtains a stack reference to be modified.interact(PlayerEntity player, Hand hand) Called when a player interacts with this entity.voidvoidvoidmethod_42274(long long2) voidmethod_42275(@Nullable Identifier identifier) longvoidmethod_42279(DamageSource damageSource) protected floatprotected intvoidmethod_42282(@Nullable PlayerEntity playerEntity) voidopenInventory(PlayerEntity playerEntity) protected voidremoveStack(int slot) Removes the stack currently stored at the indicated slot.removeStack(int slot, int amount) Removes a specific number of items from the given slot.voidintsize()protected voidMethods inherited from class net.minecraft.entity.vehicle.BoatEntity
animateDamage, canAddPassenger, canCollide, collides, collidesWith, copyEntityData, createSpawnPacket, damage, fall, getBoatType, getDamageWobbleSide, getDamageWobbleStrength, getDamageWobbleTicks, getEyeHeight, getMountedHeightOffset, getMoveEffect, getMovementDirection, getPaddleSoundEvent, getPickBlockStack, getPrimaryPassenger, initDataTracker, interpolateBubbleWobble, interpolatePaddlePhase, isCollidable, isPaddleMoving, isPushable, isSubmergedInWater, method_7544, method_7548, onBubbleColumnSurfaceCollision, onPassengerLookAround, positionInPortal, pushAwayFrom, setBoatType, setDamageWobbleSide, setDamageWobbleStrength, setDamageWobbleTicks, setInputs, setPaddleMovings, tick, updatePassengerForDismount, updatePassengerPosition, updateTrackedPositionAndAnglesMethods inherited from class net.minecraft.entity.Entity
addAirTravelEffects, addFlapEffects, addPassenger, addScoreboardTag, addVelocity, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, applyDamageEffects, applyMirror, applyRotation, attemptTickInVoid, baseTick, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundingBox, calculateBoundsForPose, calculateDimensions, calculateNextStepSoundDistance, canAvoidTraps, canBeRiddenInWater, canBeSpectated, canExplosionDestroyBlock, canFreeze, canModifyAt, canStartRiding, canUsePortals, changeLookDirection, checkBlockCollision, checkDespawn, collidesWithStateAtPos, copyFrom, copyPositionAndRotation, detach, discard, dismountVehicle, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, dropStack, emitGameEvent, emitGameEvent, entityDataRequiresOperator, equals, equipStack, extinguish, getAir, getArmorItems, getBlockPos, getBlockStateAtPos, getBlockX, getBlockY, getBlockZ, getBodyY, getBoundingBox, getBrightnessAtEyes, getBurningDuration, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCustomName, getDataTracker, getDefaultName, getDefaultNetherPortalCooldown, getDimensions, getDisplayName, getEffectiveExplosionResistance, getEntityName, getEntityWorld, getEyeHeight, getEyePos, getEyeY, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getHandPosOffset, getHeadYaw, getHeight, getHeightOffset, getHighSpeedSplashSound, getHorizontalFacing, getHoverEvent, getId, getItemsEquipped, getItemsHand, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLeashOffset, getLeashPos, getLerpedPos, getMaxAir, getMaxNetherPortalTime, getMinFreezeDamageTicks, getName, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerDismountOffset, getPassengerList, getPassengersDeep, getPermissionLevel, getPistonBehavior, getPitch, getPitch, getPortalRect, getPos, getPose, getRandomBodyY, getRemovalReason, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSafeFallDistance, getSavedEntityId, getScoreboardTags, getScoreboardTeam, getServer, getSoundCategory, getSplashSound, getStandingEyeHeight, getSwimHeight, getSwimSound, getTargetingMargin, getTeamColorValue, getTeleportTarget, getTrackedPosition, getType, getUuid, getUuidAsString, getVehicle, getVelocity, getVelocityAffectingPos, getVelocityMultiplier, getVisibilityBoundingBox, getWidth, getWorld, getX, getY, getYaw, getYaw, getZ, handleAttack, handleFallDamage, handleStatus, hasCollidedSoftly, hasCustomName, hashCode, hasNetherPortalCooldown, hasNoGravity, hasPassenger, hasPassengerDeep, hasPassengers, hasPassengerType, hasPermissionLevel, hasPlayerRider, hasVehicle, hasWings, interactAt, isAlive, isAttackable, isConnectedThroughVehicle, isCustomNameVisible, isDescending, isFireImmune, isFrozen, isGlowing, isGlowingLocal, isImmuneToExplosion, isInLava, isInPose, isInRange, isInsideWall, isInsideWaterOrBubbleColumn, isInSneakingPose, isInSwimmingPose, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isLiving, isLogicalSideForUpdatingMovement, isOnFire, isOnGround, isPartOf, isPlayer, isPushedByFluids, isRegionUnloaded, isRemoved, isSilent, isSneaking, isSneaky, isSpectator, isSprinting, isSubmergedIn, isSwimming, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, isWet, kill, lookAt, method_42147, method_42148, move, moveToWorld, occludeVibrationSignals, offsetX, offsetZ, onBlockCollision, onBubbleColumnCollision, onKilledOther, onLanding, onPlayerCollision, onRemoved, onSpawnPacket, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, onSwimmingStart, onTrackedDataSet, playExtinguishSound, playSound, playStepSound, playSwimSound, populateCrashReport, pushOutOfBlocks, raycast, readNbt, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, remove, removeAllPassengers, removeFromDimension, removePassenger, removeScoreboardTag, requestTeleport, requestTeleportAndDismount, resetNetherPortalCooldown, resetPosition, saveNbt, saveSelfNbt, scheduleVelocityUpdate, sendSystemMessage, setAir, setBodyYaw, setBoundingBox, setChangeListener, setCustomName, setCustomNameVisible, setFireTicks, setFlag, setFrozenTicks, setGlowing, setHeadYaw, setId, setInNetherPortal, setInPowderSnow, setInvisible, setInvulnerable, setNoGravity, setOnFire, setOnFireFor, setOnFireFromLava, setOnGround, setPitch, setPos, setPose, setPosition, setPosition, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSprinting, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, setYaw, shouldBroadcastConsoleToOps, shouldEscapePowderSnow, shouldLeaveSwimmingPose, shouldReceiveFeedback, shouldRender, shouldRender, shouldRenderName, shouldSave, shouldSetPositionOnLoad, shouldSpawnSprintingParticles, shouldTrackOutput, slowMovement, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, startRiding, startRiding, stopRiding, streamPassengersAndSelf, streamSelfAndPassengers, teleport, tickInVoid, tickNetherPortal, tickNetherPortalCooldown, tickRiding, toNbtList, toNbtList, toString, tryCheckBlockCollision, unsetRemoved, updateKilledAdvancementCriterion, updateMovementInFluid, updatePosition, updatePositionAndAngles, updateSwimming, updateTrackedHeadRotation, updateTrackedPosition, updateTrackedPosition, updateVelocity, updateWaterState, wouldPoseNotCollide, writeNbtMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.class_7265
getPos, getWorld, isEmpty, isRemoved, method_42283, method_42284, method_42285, method_42286, method_42287, method_42288, method_42289, method_42290, method_42291, method_42292, method_42293, method_42294, method_42295Methods inherited from interface net.minecraft.server.command.CommandOutput
cannotBeSilencedMethods inherited from interface net.minecraft.inventory.Inventory
containsAny, count, getMaxCountPerStack, isValid, onClose, onOpenMethods inherited from interface net.minecraft.screen.NamedScreenHandlerFactory
getDisplayName
-
Field Details
-
field_38207
private static final int field_38207- See Also:
- Mappings:
Namespace Name Mixin selector official fLbsa;f:Iintermediary field_38207Lnet/minecraft/class_7264;field_38207:Inamed field_38207Lnet/minecraft/class_7264;field_38207:I
-
field_38204
- Mappings:
Namespace Name Mixin selector official aoLbsa;ao:Lgz;intermediary field_38204Lnet/minecraft/class_7264;field_38204:Lnet/minecraft/class_2371;named field_38204Lnet/minecraft/class_7264;field_38204:Lnet/minecraft/util/collection/DefaultedList;
-
field_38205
- Mappings:
Namespace Name Mixin selector official apLbsa;ap:Lza;intermediary field_38205Lnet/minecraft/class_7264;field_38205:Lnet/minecraft/class_2960;named field_38205Lnet/minecraft/class_7264;field_38205:Lnet/minecraft/util/Identifier;
-
field_38206
private long field_38206- Mappings:
Namespace Name Mixin selector official aqLbsa;aq:Jintermediary field_38206Lnet/minecraft/class_7264;field_38206:Jnamed field_38206Lnet/minecraft/class_7264;field_38206:J
-
-
Constructor Details
-
class_7264
- Mappings:
Namespace Name Mixin selector official <init>Layg;<init>(Layk;Lccx;)Vintermediary <init>Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)Vnamed <init>Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
-
class_7264
- Mappings:
Namespace Name Mixin selector official <init>Lbrz;<init>(Lccx;DDD)Vintermediary <init>Lnet/minecraft/class_1690;<init>(Lnet/minecraft/class_1937;DDD)Vnamed <init>Lnet/minecraft/entity/vehicle/BoatEntity;<init>(Lnet/minecraft/world/World;DDD)V
-
-
Method Details
-
method_42280
protected float method_42280()- Overrides:
method_42280in classBoatEntity- Mappings:
Namespace Name Mixin selector official nLbrz;n()Fintermediary method_42280Lnet/minecraft/class_1690;method_42280()Fnamed method_42280Lnet/minecraft/entity/vehicle/BoatEntity;method_42280()F
-
method_42281
protected int method_42281()- Overrides:
method_42281in classBoatEntity- Mappings:
Namespace Name Mixin selector official tLbrz;t()Iintermediary method_42281Lnet/minecraft/class_1690;method_42281()Inamed method_42281Lnet/minecraft/entity/vehicle/BoatEntity;method_42281()I
-
writeCustomDataToNbt
- Overrides:
writeCustomDataToNbtin classBoatEntity- Mappings:
Namespace Name Mixin selector official bLayg;b(Los;)Vintermediary method_5652Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)Vnamed writeCustomDataToNbtLnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
readCustomDataFromNbt
- Overrides:
readCustomDataFromNbtin classBoatEntity- Mappings:
Namespace Name Mixin selector official aLayg;a(Los;)Vintermediary method_5749Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)Vnamed readCustomDataFromNbtLnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
method_42279
- Overrides:
method_42279in classBoatEntity- Mappings:
Namespace Name Mixin selector official aLbrz;a(Laxp;)Vintermediary method_42279Lnet/minecraft/class_1690;method_42279(Lnet/minecraft/class_1282;)Vnamed method_42279Lnet/minecraft/entity/vehicle/BoatEntity;method_42279(Lnet/minecraft/entity/damage/DamageSource;)V
-
interact
Called when a player interacts with this entity.- Overrides:
interactin classBoatEntity- Parameters:
player- the playerhand- the hand the player used to interact with this entity- Mappings:
Namespace Name Mixin selector official aLayg;a(Lbqi;Laxb;)Laxc;intermediary method_5688Lnet/minecraft/class_1297;method_5688(Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;)Lnet/minecraft/class_1269;named interactLnet/minecraft/entity/Entity;interact(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;)Lnet/minecraft/util/ActionResult;
-
openInventory
- Specified by:
openInventoryin interfaceclass_7248- Mappings:
Namespace Name Mixin selector official bLayp;b(Lbqi;)Vintermediary method_6722Lnet/minecraft/class_7248;method_6722(Lnet/minecraft/class_1657;)Vnamed openInventoryLnet/minecraft/class_7248;openInventory(Lnet/minecraft/entity/player/PlayerEntity;)V
-
asItem
- Overrides:
asItemin classBoatEntity- Mappings:
Namespace Name Mixin selector official hLbrz;h()Lbwt;intermediary method_7557Lnet/minecraft/class_1690;method_7557()Lnet/minecraft/class_1792;named asItemLnet/minecraft/entity/vehicle/BoatEntity;asItem()Lnet/minecraft/item/Item;
-
clear
public void clear() -
size
public int size() -
getStack
Fetches the stack currently stored at the given slot. If the slot is empty, or is outside the bounds of this inventory, returns seeItemStack.EMPTY. -
removeStack
Removes a specific number of items from the given slot.- Specified by:
removeStackin interfaceInventory- Returns:
- the removed items as a stack
- Mappings:
Namespace Name Mixin selector official aLawv;a(II)Lbwx;intermediary method_5434Lnet/minecraft/class_1263;method_5434(II)Lnet/minecraft/class_1799;named removeStackLnet/minecraft/inventory/Inventory;removeStack(II)Lnet/minecraft/item/ItemStack;
-
removeStack
Removes the stack currently stored at the indicated slot.- Specified by:
removeStackin interfaceInventory- Returns:
- the stack previously stored at the indicated slot.
- Mappings:
Namespace Name Mixin selector official bLawv;b(I)Lbwx;intermediary method_5441Lnet/minecraft/class_1263;method_5441(I)Lnet/minecraft/class_1799;named removeStackLnet/minecraft/inventory/Inventory;removeStack(I)Lnet/minecraft/item/ItemStack;
-
setStack
-
getStackReference
Obtains a stack reference to be modified. Used by commands like/lootor/item.- Overrides:
getStackReferencein classEntity- Parameters:
mappedIndex- the mapped index as given by the item slot argument- See Also:
- Mappings:
Namespace Name Mixin selector official kLayg;k(I)Lazm;intermediary method_32318Lnet/minecraft/class_1297;method_32318(I)Lnet/minecraft/class_5630;named getStackReferenceLnet/minecraft/entity/Entity;getStackReference(I)Lnet/minecraft/inventory/StackReference;
-
markDirty
public void markDirty() -
canPlayerUse
- Specified by:
canPlayerUsein interfaceInventory- Mappings:
Namespace Name Mixin selector official aLawv;a(Lbqi;)Zintermediary method_5443Lnet/minecraft/class_1263;method_5443(Lnet/minecraft/class_1657;)Znamed canPlayerUseLnet/minecraft/inventory/Inventory;canPlayerUse(Lnet/minecraft/entity/player/PlayerEntity;)Z
-
createMenu
@Nullable public @Nullable ScreenHandler createMenu(int syncId, PlayerInventory inv, PlayerEntity player) - Specified by:
createMenuin interfaceScreenHandlerFactory- Mappings:
Namespace Name Mixin selector official createMenuLbtt;createMenu(ILbqh;Lbqi;)Lbsq;intermediary createMenuLnet/minecraft/class_1270;createMenu(ILnet/minecraft/class_1661;Lnet/minecraft/class_1657;)Lnet/minecraft/class_1703;named createMenuLnet/minecraft/screen/ScreenHandlerFactory;createMenu(ILnet/minecraft/entity/player/PlayerInventory;Lnet/minecraft/entity/player/PlayerEntity;)Lnet/minecraft/screen/ScreenHandler;
-
method_42282
- Mappings:
Namespace Name Mixin selector official dLbsa;d(Lbqi;)Vintermediary method_42282Lnet/minecraft/class_7264;method_42282(Lnet/minecraft/class_1657;)Vnamed method_42282Lnet/minecraft/class_7264;method_42282(Lnet/minecraft/entity/player/PlayerEntity;)V
-
method_42276
- Specified by:
method_42276in interfaceclass_7265- Mappings:
Namespace Name Mixin selector official xLbsb;x()Lza;intermediary method_42276Lnet/minecraft/class_7265;method_42276()Lnet/minecraft/class_2960;named method_42276Lnet/minecraft/class_7265;method_42276()Lnet/minecraft/util/Identifier;
-
method_42275
- Specified by:
method_42275in interfaceclass_7265- Mappings:
Namespace Name Mixin selector official aLbsb;a(Lza;)Vintermediary method_42275Lnet/minecraft/class_7265;method_42275(Lnet/minecraft/class_2960;)Vnamed method_42275Lnet/minecraft/class_7265;method_42275(Lnet/minecraft/util/Identifier;)V
-
method_42277
public long method_42277()- Specified by:
method_42277in interfaceclass_7265- Mappings:
Namespace Name Mixin selector official yLbsb;y()Jintermediary method_42277Lnet/minecraft/class_7265;method_42277()Jnamed method_42277Lnet/minecraft/class_7265;method_42277()J
-
method_42274
public void method_42274(long long2) - Specified by:
method_42274in interfaceclass_7265- Mappings:
Namespace Name Mixin selector official aLbsb;a(J)Vintermediary method_42274Lnet/minecraft/class_7265;method_42274(J)Vnamed method_42274Lnet/minecraft/class_7265;method_42274(J)V
-
method_42278
- Specified by:
method_42278in interfaceclass_7265- Mappings:
Namespace Name Mixin selector official zLbsb;z()Lgz;intermediary method_42278Lnet/minecraft/class_7265;method_42278()Lnet/minecraft/class_2371;named method_42278Lnet/minecraft/class_7265;method_42278()Lnet/minecraft/util/collection/DefaultedList;
-
method_42273
public void method_42273()- Specified by:
method_42273in interfaceclass_7265- Mappings:
Namespace Name Mixin selector official ALbsb;A()Vintermediary method_42273Lnet/minecraft/class_7265;method_42273()Vnamed method_42273Lnet/minecraft/class_7265;method_42273()V
-