Package net.minecraft.entity.vehicle
Class FurnaceMinecartEntity
java.lang.Object
net.minecraft.entity.Entity
net.minecraft.entity.vehicle.VehicleEntity
net.minecraft.entity.vehicle.AbstractMinecartEntity
net.minecraft.entity.vehicle.FurnaceMinecartEntity
- All Implemented Interfaces:
ComponentsAccess,DataTracked,ScoreHolder,Nameable,EntityLike,UniquelyIdentifiable
- Mappings:
Namespace Name named net/minecraft/entity/vehicle/FurnaceMinecartEntityintermediary net/minecraft/class_1696official cxr
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.MoveEffect, Entity.PositionUpdater, Entity.RemovalReason -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final shortprivate static final Vec3dprivate intprivate static final intprivate static final TrackedData<Boolean> private static final intFields inherited from class net.minecraft.entity.vehicle.AbstractMinecartEntity
VELOCITY_SLOWDOWN_MULTIPLIERFields inherited from class net.minecraft.entity.vehicle.VehicleEntity
DAMAGE_WOBBLE_SIDE, DAMAGE_WOBBLE_STRENGTH, DAMAGE_WOBBLE_TICKSFields inherited from class net.minecraft.entity.Entity
age, AIR_KEY, collidedSoftly, CUSTOM_DATA_KEY, dataTracker, DEFAULT_FRICTION, DEFAULT_MIN_FREEZE_DAMAGE_TICKS, DEFAULT_PORTAL_COOLDOWN, distanceTraveled, FALL_DISTANCE_KEY, fallDistance, field_44870, field_44871, field_44872, field_49073, field_49791, FIRE_KEY, firstUpdate, FLAGS, fluidHeight, FREEZING_DAMAGE_INTERVAL, GLIDING_FLAG_INDEX, GLOWING_FLAG_INDEX, GLOWING_KEY, groundCollision, horizontalCollision, ID_KEY, inPowderSnow, intersectionChecked, INVULNERABLE_KEY, lastPitch, lastRenderX, lastRenderY, lastRenderZ, lastX, lastY, lastYaw, lastZ, MAX_COMMAND_TAGS, MAX_QUEUED_COLLISION_CHECKS, MAX_RIDING_COOLDOWN, MIN_RISING_BUBBLE_COLUMN_SPEED, MOTION_KEY, movementMultiplier, NO_GRAVITY_KEY, noClip, ON_FIRE_FLAG_INDEX, ON_GROUND_KEY, PASSENGERS_KEY, PORTAL_COOLDOWN_KEY, portalManager, POS_KEY, POSE, random, ridingCooldown, ROTATION_KEY, SILENT_KEY, speed, submergedInWater, supportingBlockPos, timeUntilRegen, touchingWater, uuid, UUID_KEY, uuidString, velocityDirty, velocityModified, verticalCollision, wasInPowderSnowFields inherited from interface net.minecraft.scoreboard.ScoreHolder
WILDCARD, WILDCARD_NAME -
Constructor Summary
ConstructorsConstructorDescriptionFurnaceMinecartEntity(EntityType<? extends FurnaceMinecartEntity> type, World world) -
Method Summary
Modifier and TypeMethodDescriptionprotected Vec3dapplySlowdown(Vec3d velocity) protected ItemasItem()protected doublegetMaxSpeed(ServerWorld world) Returns the stack for creative "pick block" functionality, ornullif there is none.protected voidinitDataTracker(DataTracker.Builder builder) Initializes data tracker.interact(PlayerEntity player, Hand hand) Called when a player interacts with this entity.protected booleanisLit()booleanprivate Vec3dmethod_64276(Vec3d velocity) protected voidreadCustomData(ReadView view) protected voidsetLit(boolean lit) voidtick()Ticks this entity.protected voidwriteCustomData(WriteView view) Methods inherited from class net.minecraft.entity.vehicle.AbstractMinecartEntity
animateDamage, applyGravity, areMinecartImprovementsEnabled, canHit, collidesWith, create, getAdjacentRailPositionsByShape, getBlockOffset, getContainedBlock, getController, getDefaultBlockOffset, getGravity, getInterpolator, getLaunchDirection, getMoveEffect, getMovement, getMovementDirection, getPassengerAttachmentPos, getRailOrMinecartPos, getVelocityMultiplier, initPosition, isFirstUpdate, isOnRail, isPushable, isRideable, isYawFlipped, lerpPosAndRotation, move, moveAlongTrack, moveOffRail, moveOnRail, onActivatorRail, onSpawnPacket, positionInPortal, pushAwayFrom, refreshPosition, setBlockOffset, setCustomBlockState, setOnRail, setVelocityClient, setYawFlipped, tickBlockCollision, updatePassengerForDismount, updateWaterState, willHitBlockAtMethods inherited from class net.minecraft.entity.vehicle.VehicleEntity
clientDamage, damage, getDamageWobbleSide, getDamageWobbleStrength, getDamageWobbleTicks, getDefaultPortalCooldown, isImmuneToExplosion, killAndDropItem, killAndDropSelf, setDamageWobbleSide, setDamageWobbleStrength, setDamageWobbleTicks, shouldAlwaysKillMethods inherited from class net.minecraft.entity.Entity
addAirTravelEffects, addCommandTag, addFlapEffects, addPassenger, addPortalChunkTicketAt, addVelocity, addVelocity, addVelocityInternal, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, applyBubbleColumnEffects, applyBubbleColumnSurfaceEffects, applyMirror, applyRotation, attemptTickInVoid, baseTick, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundingBox, calculateDefaultBoundingBox, calculateDimensions, calculateNextStepSoundDistance, canActVoluntarily, canAddPassenger, canAvoidTraps, canBeHitByProjectile, canBeSpectated, canExplosionDestroyBlock, canFreeze, canModifyAt, canMoveVoluntarily, canSprintAsVehicle, canStartRiding, canTeleportBetween, canUsePortals, castComponentValue, changeLookDirection, checkDespawn, clearQueuedCollisionChecks, collides, collidesWithFluid, collidesWithStateAtPos, copyComponentFrom, copyComponentsFrom, copyComponentsFrom, copyFrom, copyPositionAndRotation, couldAcceptPassenger, createSpawnPacket, defrost, detach, detachAllHeldLeashes, discard, dismountVehicle, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, dropStack, dropStack, emitGameEvent, emitGameEvent, equals, extinguish, extinguishWithSound, fall, get, getAir, getAttachments, getBlockPos, getBlockStateAtPos, getBlockX, getBlockY, getBlockZ, getBodyX, getBodyY, getBodyYaw, getBodyZ, getBoundingBox, getBrightnessAtEyes, getBurningDuration, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCommandTags, getControllingPassenger, getControllingVehicle, getCustomName, getDamageSources, getDataTracker, getDefaultName, getDimensions, getDisplayName, getEffectiveExplosionResistance, getErrorReporterContext, getEyeHeight, getEyePos, getEyeY, getFacing, getFinalGravity, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getHandPosOffset, getHeadYaw, getHeight, getHeldQuadLeashOffsets, getHighSpeedSplashSound, getHorizontalFacing, getHoverEvent, getId, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLastRenderPos, getLeashPos, getLerpedPitch, getLerpedPos, getLerpedYaw, getLootTableKey, getMaxAir, getMinFreezeDamageTicks, getName, getNameForScoreboard, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerAttachmentPos, getPassengerDismountOffset, getPassengerList, getPassengerRidingPos, getPassengersDeep, getPistonBehavior, getPitch, getPitch, getPlayerPassengers, getPortalCooldown, getPos, getPose, getPosWithYOffset, getProjectileDeflection, getRandom, getRandomBodyY, getRegistryManager, getRemovalReason, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSafeFallDistance, getSavedEntityId, getScoreboardTeam, getServer, getSoundCategory, getSplashSound, getStackReference, getStandingEyeHeight, getStepHeight, getSteppingBlockState, getSteppingPos, getStepSoundPos, getSwimHeight, getSwimSound, getSyncedPos, getTargetingMargin, getTeamColorValue, getTrackedPosition, getType, getUuid, getUuidAsString, getVehicle, getVehicleAttachmentPos, getVelocity, getVelocityAffectingPos, getWeaponStack, getWidth, getWorld, getWorldSpawnPos, getX, getY, getYaw, getYaw, getZ, handleAttack, handleFall, handleFallDamage, handleFallDamageForPassengers, handleStatus, hasCollidedSoftly, hasControllingPassenger, hasCustomName, hashCode, hasNoGravity, hasPassenger, hasPassenger, hasPassengerDeep, hasPassengers, hasPlayerRider, hasPortalCooldown, hasQuadLeashAttachmentPoints, hasVehicle, igniteByLava, interactAt, isAlive, isAlwaysInvulnerableTo, isAtCloudHeight, isAttackable, isCollidable, isConnectedThroughVehicle, isControlledByMainPlayer, isControlledByPlayer, isCrawling, isCustomNameVisible, isDescending, isFireImmune, isFlappingWings, isFlyingVehicle, isFrozen, isGlowing, isGlowingLocal, isInFluid, isInLava, isInPose, isInRange, isInRange, isInSameTeam, isInsideWall, isInSneakingPose, isInSwimmingPose, isInterpolating, isInvisible, isInvisibleTo, isInvulnerable, isLiving, isLogicalSideForUpdatingMovement, isOnFire, isOnGround, isPartOf, isPlayer, isPushedByFluids, isRegionUnloaded, isRemoved, isSilent, isSneaking, isSneaky, isSpectator, isSprinting, isSubmergedIn, isSubmergedInWater, isSupportedBy, isSwimming, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, kill, lerpYaw, limitFallDistance, lookAt, movementInputToVelocity, occludeVibrationSignals, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onDamaged, onDataTrackerUpdate, onExplodedBy, onHeldLeashUpdate, onKilledOther, onLanding, onPassengerLookAround, onPlayerCollision, onRemove, onRemoved, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, onSwimmingStart, onTrackedDataSet, playCombinationStepSounds, playExtinguishSound, playSecondaryStepSound, playSound, playSoundIfNotSilent, playStepSound, playSwimSound, playSwimSound, popQueuedCollisionCheck, populateCrashReport, pushOutOfBlocks, raycast, readData, recalculateDimensions, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, refreshPositionAndAngles, reinitDimensions, remove, removeAllPassengers, removeCommandTag, removeFromDimension, removePassenger, requestTeleport, requestTeleportAndDismount, requestTeleportOffset, resetPortalCooldown, resetPosition, rotate, saveData, saveSelfData, scheduleVelocityUpdate, serverDamage, setAir, setAlwaysSyncAbsolute, setAngles, setApplicableComponent, setBodyYaw, setBoundingBox, setChangeListener, setComponent, setCustomName, setCustomNameVisible, setFireTicks, setFlag, setFrozenTicks, setGlowing, setHeadYaw, setId, setInPowderSnow, setInvisible, setInvulnerable, setLastPositionAndAngles, setMovement, setMovement, setNoGravity, setOnFire, setOnFireFor, setOnFireForTicks, setOnFireFromLava, setOnGround, setPitch, setPortalCooldown, setPos, setPose, setPosition, setPosition, setPosition, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSprinting, setSwimming, setUuid, setVelocity, setVelocity, setWorld, setYaw, shouldAlwaysSyncAbsolute, shouldControlVehicles, shouldDismountUnderwater, shouldEscapePowderSnow, shouldPlayBurnSoundInLava, shouldRender, shouldRender, shouldRenderName, shouldSave, shouldSetPositionOnLoad, shouldSpawnSprintingParticles, shouldTickBlockCollision, sidedDamage, slowMovement, snipAllHeldLeashes, spawnBubbleColumnParticles, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, startRiding, startRiding, stopRiding, streamPassengersAndSelf, streamSelfAndPassengers, teleport, teleportSpectatingPlayers, teleportTo, tickBlockCollision, tickHeldLeash, tickInVoid, tickPortalCooldown, tickPortalTeleportation, tickRiding, toString, tryUsePortal, unsetRemoved, updateEventHandler, updateKilledAdvancementCriterion, updateLastAngles, updateLastPosition, updateMovementInFluid, updatePassengerPosition, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSupportingBlockPos, updateSwimming, updateTrackedHeadRotation, updateTrackedPosition, updateTrackedPositionAndAngles, updateVelocity, writeDataMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.component.ComponentsAccess
getOrDefault, getTypedMethods inherited from interface net.minecraft.scoreboard.ScoreHolder
getStyledDisplayName
-
Field Details
-
LIT
- Mappings:
Namespace Name Mixin selector named LITLnet/minecraft/entity/vehicle/FurnaceMinecartEntity;LIT:Lnet/minecraft/entity/data/TrackedData;intermediary field_7740Lnet/minecraft/class_1696;field_7740:Lnet/minecraft/class_2940;official cLcxr;c:Lalh;
-
FUEL_PER_ITEM
private static final int FUEL_PER_ITEM- See Also:
- Mappings:
Namespace Name Mixin selector named FUEL_PER_ITEMLnet/minecraft/entity/vehicle/FurnaceMinecartEntity;FUEL_PER_ITEM:Iintermediary field_52521Lnet/minecraft/class_1696;field_52521:Iofficial dLcxr;d:I
-
MAX_FUEL
private static final int MAX_FUEL- See Also:
- Mappings:
Namespace Name Mixin selector named MAX_FUELLnet/minecraft/entity/vehicle/FurnaceMinecartEntity;MAX_FUEL:Iintermediary field_52522Lnet/minecraft/class_1696;field_52522:Iofficial hLcxr;h:I
-
DEFAULT_FUEL
private static final short DEFAULT_FUEL- See Also:
- Mappings:
Namespace Name Mixin selector named DEFAULT_FUELLnet/minecraft/entity/vehicle/FurnaceMinecartEntity;DEFAULT_FUEL:Sintermediary field_57750Lnet/minecraft/class_1696;field_57750:Sofficial iLcxr;i:S
-
DEFAULT_PUSH_VEC
- Mappings:
Namespace Name Mixin selector named DEFAULT_PUSH_VECLnet/minecraft/entity/vehicle/FurnaceMinecartEntity;DEFAULT_PUSH_VEC:Lnet/minecraft/util/math/Vec3d;intermediary field_57751Lnet/minecraft/class_1696;field_57751:Lnet/minecraft/class_243;official jLcxr;j:Lfis;
-
fuel
private int fuel- Mappings:
Namespace Name Mixin selector named fuelLnet/minecraft/entity/vehicle/FurnaceMinecartEntity;fuel:Iintermediary field_7739Lnet/minecraft/class_1696;field_7739:Iofficial kLcxr;k:I
-
pushVec
- Mappings:
Namespace Name Mixin selector named pushVecLnet/minecraft/entity/vehicle/FurnaceMinecartEntity;pushVec:Lnet/minecraft/util/math/Vec3d;intermediary field_54300Lnet/minecraft/class_1696;field_54300:Lnet/minecraft/class_243;official bLcxr;b:Lfis;
-
-
Constructor Details
-
FurnaceMinecartEntity
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)Vintermediary <init>Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)Vofficial <init>Lbzm;<init>(Lbzv;Ldmu;)V
-
-
Method Details
-
isSelfPropelling
public boolean isSelfPropelling()- Overrides:
isSelfPropellingin classAbstractMinecartEntity- Mappings:
Namespace Name Mixin selector named isSelfPropellingLnet/minecraft/entity/vehicle/AbstractMinecartEntity;isSelfPropelling()Zintermediary method_64273Lnet/minecraft/class_1688;method_64273()Zofficial yLcxg;y()Z
-
initDataTracker
Initializes data tracker.- Overrides:
initDataTrackerin classAbstractMinecartEntity- API Note:
- Subclasses should override this and add to the builder any data that needs to be tracked.
- Mappings:
Namespace Name Mixin selector named initDataTrackerLnet/minecraft/entity/Entity;initDataTracker(Lnet/minecraft/entity/data/DataTracker$Builder;)Vintermediary method_5693Lnet/minecraft/class_1297;method_5693(Lnet/minecraft/class_2945$class_9222;)Vofficial aLbzm;a(Lall$a;)V
-
tick
public void tick()Ticks this entity.- Overrides:
tickin classAbstractMinecartEntity- See Also:
- API Note:
- This can be overridden to add additional logics.
super.tick();should be called in those cases. - Implementation Note:
- By default, this delegates all logics to
Entity.baseTick(). - Mappings:
Namespace Name Mixin selector named tickLnet/minecraft/entity/Entity;tick()Vintermediary method_5773Lnet/minecraft/class_1297;method_5773()Vofficial gLbzm;g()V
-
getMaxSpeed
- Overrides:
getMaxSpeedin classAbstractMinecartEntity- Mappings:
Namespace Name Mixin selector named getMaxSpeedLnet/minecraft/entity/vehicle/AbstractMinecartEntity;getMaxSpeed(Lnet/minecraft/server/world/ServerWorld;)Dintermediary method_7504Lnet/minecraft/class_1688;method_7504(Lnet/minecraft/class_3218;)Dofficial aLcxg;a(Laub;)D
-
asItem
- Specified by:
asItemin classVehicleEntity- Mappings:
Namespace Name Mixin selector named asItemLnet/minecraft/entity/vehicle/VehicleEntity;asItem()Lnet/minecraft/item/Item;intermediary method_7557Lnet/minecraft/class_8836;method_7557()Lnet/minecraft/class_1792;official pLcxy;p()Ldcr;
-
getPickBlockStack
Returns the stack for creative "pick block" functionality, ornullif there is none.If the entity has an item representation (such as boats or minecarts), this should be overridden to return a new stack. Note that
MobEntityhandles the spawn eggs.ItemFrameEntityinstead returns the copy of the stack held in the frame.- Specified by:
getPickBlockStackin classAbstractMinecartEntity- Returns:
- the stack for creative "pick block" functionality, or
nullif there is none - Mappings:
Namespace Name Mixin selector named getPickBlockStackLnet/minecraft/entity/Entity;getPickBlockStack()Lnet/minecraft/item/ItemStack;intermediary method_31480Lnet/minecraft/class_1297;method_31480()Lnet/minecraft/class_1799;official dMLbzm;dM()Ldcv;
-
applySlowdown
- Overrides:
applySlowdownin classAbstractMinecartEntity- Mappings:
Namespace Name Mixin selector named applySlowdownLnet/minecraft/entity/vehicle/AbstractMinecartEntity;applySlowdown(Lnet/minecraft/util/math/Vec3d;)Lnet/minecraft/util/math/Vec3d;intermediary method_7525Lnet/minecraft/class_1688;method_7525(Lnet/minecraft/class_243;)Lnet/minecraft/class_243;official aLcxg;a(Lfis;)Lfis;
-
method_64276
- Mappings:
Namespace Name Mixin selector named method_64276Lnet/minecraft/entity/vehicle/FurnaceMinecartEntity;method_64276(Lnet/minecraft/util/math/Vec3d;)Lnet/minecraft/util/math/Vec3d;intermediary method_64276Lnet/minecraft/class_1696;method_64276(Lnet/minecraft/class_243;)Lnet/minecraft/class_243;official kLcxr;k(Lfis;)Lfis;
-
interact
Called when a player interacts with this entity.- Overrides:
interactin classEntity- Parameters:
player- the playerhand- the hand the player used to interact with this entity- Mappings:
Namespace Name Mixin selector named interactLnet/minecraft/entity/Entity;interact(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;)Lnet/minecraft/util/ActionResult;intermediary method_5688Lnet/minecraft/class_1297;method_5688(Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;)Lnet/minecraft/class_1269;official aLbzm;a(Lcut;Lbxi;)Lbxj;
-
writeCustomData
- Overrides:
writeCustomDatain classAbstractMinecartEntity- Mappings:
Namespace Name Mixin selector named writeCustomDataLnet/minecraft/entity/Entity;writeCustomData(Lnet/minecraft/storage/WriteView;)Vintermediary method_5652Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_11372;)Vofficial aLbzm;a(Lfdc;)V
-
readCustomData
- Overrides:
readCustomDatain classAbstractMinecartEntity- Mappings:
Namespace Name Mixin selector named readCustomDataLnet/minecraft/entity/Entity;readCustomData(Lnet/minecraft/storage/ReadView;)Vintermediary method_5749Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_11368;)Vofficial aLbzm;a(Lfda;)V
-
isLit
protected boolean isLit()- Mappings:
Namespace Name Mixin selector named isLitLnet/minecraft/entity/vehicle/FurnaceMinecartEntity;isLit()Zintermediary method_7565Lnet/minecraft/class_1696;method_7565()Zofficial eLcxr;e()Z
-
setLit
protected void setLit(boolean lit) - Mappings:
Namespace Name Mixin selector named setLitLnet/minecraft/entity/vehicle/FurnaceMinecartEntity;setLit(Z)Vintermediary method_7564Lnet/minecraft/class_1696;method_7564(Z)Vofficial rLcxr;r(Z)V
-
getDefaultContainedBlock
- Overrides:
getDefaultContainedBlockin classAbstractMinecartEntity- Mappings:
Namespace Name Mixin selector named getDefaultContainedBlockLnet/minecraft/entity/vehicle/AbstractMinecartEntity;getDefaultContainedBlock()Lnet/minecraft/block/BlockState;intermediary method_7517Lnet/minecraft/class_1688;method_7517()Lnet/minecraft/class_2680;official uLcxg;u()Leeb;
-