类 AbstractMinecartEntity
- java.lang.Object
-
- net.minecraft.entity.Entity
-
- net.minecraft.entity.vehicle.AbstractMinecartEntity
-
- 所有已实现的接口:
CommandOutput,Nameable,EntityLike
- 直接已知子类:
CommandBlockMinecartEntity,FurnaceMinecartEntity,MinecartEntity,SpawnerMinecartEntity,StorageMinecartEntity,TntMinecartEntity
public abstract class AbstractMinecartEntity extends Entity
- Mappings:
Namespace Name official bkuintermediary net/minecraft/class_1688named net/minecraft/entity/vehicle/AbstractMinecartEntity
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classAbstractMinecartEntity.Type-
从类继承的嵌套类/接口 net.minecraft.entity.Entity
Entity.MoveEffect, Entity.PositionUpdater, Entity.RemovalReason
-
-
字段概要
字段 修饰符和类型 字段 说明 private static Map<RailShape,com.mojang.datafixers.util.Pair<Vec3i,Vec3i>>ADJACENT_RAIL_POSITIONS_BY_SHAPEprivate intclientInterpolationStepsprivate doubleclientPitchprivate doubleclientXprivate doubleclientXVelocityprivate doubleclientYprivate doubleclientYawprivate doubleclientYVelocityprivate doubleclientZprivate doubleclientZVelocityprivate static TrackedData<Integer>CUSTOM_BLOCK_IDprivate static TrackedData<Integer>CUSTOM_BLOCK_OFFSETprivate static TrackedData<Boolean>CUSTOM_BLOCK_PRESENTprivate static TrackedData<Integer>DAMAGE_WOBBLE_SIDEprivate static TrackedData<Float>DAMAGE_WOBBLE_STRENGTHprivate static TrackedData<Integer>DAMAGE_WOBBLE_TICKSprivate static ImmutableMap<EntityPose,ImmutableList<Integer>>DISMOUNT_FREE_Y_SPACES_NEEDEDprotected static floatfield_30694private booleanyawFlipped-
从类继承的字段 net.minecraft.entity.Entity
age, dataTracker, distanceTraveled, fallDistance, field_28627, field_29973, field_29974, field_29979, field_29980, field_29981, field_29987, field_29988, field_29989, field_29990, field_29991, field_29992, field_29993, firstUpdate, FLAGS, fluidHeight, glowing, horizontalCollision, horizontalSpeed, ID_KEY, ignoreCameraFrustum, inanimate, inNetherPortal, inPowderSnow, lastNetherPortalPosition, lastRenderX, lastRenderY, lastRenderZ, LOGGER, movementMultiplier, netherPortalTime, noClip, onGround, PASSENGERS_KEY, pitch, POSE, prevHorizontalSpeed, prevPitch, prevX, prevY, prevYaw, prevZ, random, ridingCooldown, stepHeight, submergedFluidTag, submergedInWater, timeUntilRegen, touchingWater, uuid, UUID_KEY, uuidString, velocityDirty, velocityModified, verticalCollision, wasInPowderSnow, wasOnFire, world, yaw
-
从接口继承的字段 net.minecraft.server.command.CommandOutput
DUMMY
-
-
构造器概要
构造器 限定符 构造器 说明 protectedAbstractMinecartEntity(EntityType<?> type, World world)protectedAbstractMinecartEntity(EntityType<?> type, World world, double x, double y, double z)
-
方法概要
所有方法 静态方法 实例方法 抽象方法 具体方法 修饰符和类型 方法 说明 voidanimateDamage()protected voidapplySlowdown()booleancollides()booleancollidesWith(Entity other)static AbstractMinecartEntitycreate(World world, double x, double y, double z, AbstractMinecartEntity.Type type)Packet<?>createSpawnPacket()booleandamage(DamageSource source, float amount)voiddropItems(DamageSource damageSource)private static com.mojang.datafixers.util.Pair<Vec3i,Vec3i>getAdjacentRailPositionsByShape(RailShape shape)intgetBlockOffset()BlockStategetContainedBlock()intgetDamageWobbleSide()floatgetDamageWobbleStrength()intgetDamageWobbleTicks()intgetDefaultBlockOffset()BlockStategetDefaultContainedBlock()protected doublegetMaxOffRailSpeed()abstract AbstractMinecartEntity.TypegetMinecartType()doublegetMountedHeightOffset()protected Entity.MoveEffectgetMoveEffect()Returns the possible effect(s) of an entity moving.DirectiongetMovementDirection()ItemStackgetPickBlockStack()protected floatgetVelocityMultiplier()BoxgetVisibilityBoundingBox()booleanhasCustomBlock()protected voidinitDataTracker()booleanisPushable()protected voidmoveOffRail()protected voidmoveOnRail(BlockPos pos, BlockState state)voidonActivatorRail(int x, int y, int z, boolean powered)protected Vec3dpositionInPortal(Direction.Axis portalAxis, PortalUtil.Rectangle portalRect)voidpushAwayFrom(Entity entity)protected voidreadCustomDataFromNbt(CompoundTag nbt)voidsetCustomBlock(BlockState state)voidsetCustomBlockOffset(int offset)voidsetCustomBlockPresent(boolean present)voidsetDamageWobbleSide(int wobbleSide)voidsetDamageWobbleStrength(float damageWobbleStrength)voidsetDamageWobbleTicks(int wobbleTicks)voidsetVelocityClient(double x, double y, double z)@Nullable Vec3dsnapPositionToRail(double x, double y, double z)@Nullable Vec3dsnapPositionToRailWithOffset(double x, double y, double z, double offset)This method is used to determine the minecart's render orientation, by computing a position along the rail slightly before and slightly after the minecart's actual position.voidtick()Vec3dupdatePassengerForDismount(LivingEntity passenger)voidupdateTrackedPositionAndAngles(double x, double y, double z, float yaw, float pitch, int interpolationSteps, boolean interpolate)private booleanwillHitBlockAt(BlockPos pos)protected voidwriteCustomDataToNbt(CompoundTag nbt)-
从类继承的方法 net.minecraft.entity.Entity
addAirTravelEffects, addFlapEffects, addPassenger, addScoreboardTag, addVelocity, adjustMovementForCollisions, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, adjustSingleAxisMovementForCollisions, applyMirror, applyRotation, attemptTickInVoid, baseTick, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundingBox, calculateBoundsForPose, calculateDimensions, calculateNextStepSoundDistance, canAddPassenger, canAvoidTraps, canBeRiddenInWater, canBeSpectated, canExplosionDestroyBlock, canFreeze, canStartRiding, canUsePortals, changeLookDirection, checkBlockCollision, checkDespawn, collidesWithStateAtPos, copyFrom, copyPositionAndRotation, dealDamage, detach, discard, dismountVehicle, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, dropStack, emitGameEvent, emitGameEvent, emitGameEvent, emitGameEvent, entityDataRequiresOperator, equals, equipStack, extinguish, fall, getAir, getArmorItems, getBlockPos, getBlockX, getBlockY, getBlockZ, getBodyY, getBoundingBox, getBrightnessAtEyes, getBurningDuration, getCameraBlockPos, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandItemSlot, getCommandSource, getCustomName, getDataTracker, getDefaultName, getDefaultNetherPortalCooldown, getDimensions, getDisplayName, getEffectiveExplosionResistance, getEntityName, getEntityWorld, getEyeHeight, getEyeHeight, getEyePos, getEyeY, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getGameEventHandler, getHeadYaw, getHeight, getHeightOffset, getHighSpeedSplashSound, getHorizontalFacing, getHoverEvent, getId, getItemsEquipped, getItemsHand, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLeashOffset, getLerpedPos, getMaxAir, getMaxNetherPortalTime, getMinFreezeDamageTicks, getName, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerDismountOffset, getPassengerList, getPassengersDeep, getPermissionLevel, getPistonBehavior, getPitch, getPortalRect, getPos, getPose, getPrimaryPassenger, 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, getWidth, getX, getY, getYaw, getZ, handleAttack, handleFallDamage, handleStatus, hasCustomName, hashCode, hasNetherPortalCooldown, hasNoGravity, hasPassenger, hasPassengerDeep, hasPassengers, hasPassengerType, hasPermissionLevel, hasPlayerRider, hasVehicle, hasWings, interact, interactAt, isAlive, isAttackable, isCollidable, isConnectedThroughVehicle, isCustomNameVisible, isDescending, isFireImmune, isFreezing, isGlowing, isImmuneToExplosion, isInLava, isInRange, isInsideWall, isInsideWaterOrBubbleColumn, isInSneakingPose, isInSwimmingPose, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isLiving, isLogicalSideForUpdatingMovement, isOnFire, isOnGround, isPartOf, isPlayer, isPushedByFluids, isRegionUnloaded, isRemoved, isSilent, isSneaking, isSneaky, isSpectator, isSprinting, isSubmergedIn, isSubmergedInWater, isSwimming, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, isWet, kill, lookAt, method_30951, method_36209, move, moveToWorld, occludeVibrationSignals, offsetX, offsetZ, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onKilledOther, onPassengerLookAround, onPlayerCollision, onSpawnPacket, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, onSwimmingStart, onTrackedDataSet, 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, setBoundingBox, setCustomName, setCustomNameVisible, setEntityId, setFireTicks, setFlag, setFrozenTicks, setGlowing, setHeadYaw, setInNetherPortal, setInPowderSnow, setInvisible, setInvulnerable, setListener, setNoGravity, setOnFire, setOnFireFor, setOnFireFromLava, setOnGround, setPos, setPose, setPosition, setPosition, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSprinting, setSwimming, setUuid, setVelocity, setVelocity, setYaw, shouldBroadcastConsoleToOps, shouldLeaveSwimmingPose, shouldReceiveFeedback, shouldRender, shouldRender, shouldRenderName, shouldSave, shouldSetPositionOnLoad, shouldSpawnSprintingParticles, shouldTrackOutput, slowMovement, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, squaredHorizontalLength, startRiding, startRiding, stopRiding, streamPassengersAndSelf, streamSelfAndPassengers, teleport, tickInVoid, tickNetherPortal, tickNetherPortalCooldown, tickRiding, toNbtList, toNbtList, toString, unsetRemoved, updateKilledAdvancementCriterion, updateMovementInFluid, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSwimming, updateTrackedHeadRotation, updateTrackedPosition, updateTrackedPosition, updateVelocity, updateWaterState, wouldPoseNotCollide, writeNbt
-
-
-
-
字段详细资料
-
DAMAGE_WOBBLE_TICKS
private static final TrackedData<Integer> DAMAGE_WOBBLE_TICKS
- Mappings:
Namespace Name Mixin selector official cLbku;c:Lvy;intermediary field_7663Lnet/minecraft/class_1688;field_7663:Lnet/minecraft/class_2940;named DAMAGE_WOBBLE_TICKSLnet/minecraft/entity/vehicle/AbstractMinecartEntity;DAMAGE_WOBBLE_TICKS:Lnet/minecraft/entity/data/TrackedData;
-
DAMAGE_WOBBLE_SIDE
private static final TrackedData<Integer> DAMAGE_WOBBLE_SIDE
- Mappings:
Namespace Name Mixin selector official dLbku;d:Lvy;intermediary field_7668Lnet/minecraft/class_1688;field_7668:Lnet/minecraft/class_2940;named DAMAGE_WOBBLE_SIDELnet/minecraft/entity/vehicle/AbstractMinecartEntity;DAMAGE_WOBBLE_SIDE:Lnet/minecraft/entity/data/TrackedData;
-
DAMAGE_WOBBLE_STRENGTH
private static final TrackedData<Float> DAMAGE_WOBBLE_STRENGTH
- Mappings:
Namespace Name Mixin selector official eLbku;e:Lvy;intermediary field_7667Lnet/minecraft/class_1688;field_7667:Lnet/minecraft/class_2940;named DAMAGE_WOBBLE_STRENGTHLnet/minecraft/entity/vehicle/AbstractMinecartEntity;DAMAGE_WOBBLE_STRENGTH:Lnet/minecraft/entity/data/TrackedData;
-
CUSTOM_BLOCK_ID
private static final TrackedData<Integer> CUSTOM_BLOCK_ID
- Mappings:
Namespace Name Mixin selector official fLbku;f:Lvy;intermediary field_7671Lnet/minecraft/class_1688;field_7671:Lnet/minecraft/class_2940;named CUSTOM_BLOCK_IDLnet/minecraft/entity/vehicle/AbstractMinecartEntity;CUSTOM_BLOCK_ID:Lnet/minecraft/entity/data/TrackedData;
-
CUSTOM_BLOCK_OFFSET
private static final TrackedData<Integer> CUSTOM_BLOCK_OFFSET
- Mappings:
Namespace Name Mixin selector official arLbku;ar:Lvy;intermediary field_7661Lnet/minecraft/class_1688;field_7661:Lnet/minecraft/class_2940;named CUSTOM_BLOCK_OFFSETLnet/minecraft/entity/vehicle/AbstractMinecartEntity;CUSTOM_BLOCK_OFFSET:Lnet/minecraft/entity/data/TrackedData;
-
CUSTOM_BLOCK_PRESENT
private static final TrackedData<Boolean> CUSTOM_BLOCK_PRESENT
- Mappings:
Namespace Name Mixin selector official asLbku;as:Lvy;intermediary field_7670Lnet/minecraft/class_1688;field_7670:Lnet/minecraft/class_2940;named CUSTOM_BLOCK_PRESENTLnet/minecraft/entity/vehicle/AbstractMinecartEntity;CUSTOM_BLOCK_PRESENT:Lnet/minecraft/entity/data/TrackedData;
-
DISMOUNT_FREE_Y_SPACES_NEEDED
private static final ImmutableMap<EntityPose,ImmutableList<Integer>> DISMOUNT_FREE_Y_SPACES_NEEDED
- Mappings:
Namespace Name Mixin selector official atLbku;at:Lcom/google/common/collect/ImmutableMap;intermediary field_24464Lnet/minecraft/class_1688;field_24464:Lcom/google/common/collect/ImmutableMap;named DISMOUNT_FREE_Y_SPACES_NEEDEDLnet/minecraft/entity/vehicle/AbstractMinecartEntity;DISMOUNT_FREE_Y_SPACES_NEEDED:Lcom/google/common/collect/ImmutableMap;
-
field_30694
protected static final float field_30694
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official j_Lbku;j_:Fintermediary field_30694Lnet/minecraft/class_1688;field_30694:Fnamed field_30694Lnet/minecraft/entity/vehicle/AbstractMinecartEntity;field_30694:F
-
ADJACENT_RAIL_POSITIONS_BY_SHAPE
private static final Map<RailShape,com.mojang.datafixers.util.Pair<Vec3i,Vec3i>> ADJACENT_RAIL_POSITIONS_BY_SHAPE
- Mappings:
Namespace Name Mixin selector official avLbku;av:Ljava/util/Map;intermediary field_7664Lnet/minecraft/class_1688;field_7664:Ljava/util/Map;named ADJACENT_RAIL_POSITIONS_BY_SHAPELnet/minecraft/entity/vehicle/AbstractMinecartEntity;ADJACENT_RAIL_POSITIONS_BY_SHAPE:Ljava/util/Map;
-
yawFlipped
private boolean yawFlipped
- Mappings:
Namespace Name Mixin selector official auLbku;au:Zintermediary field_7660Lnet/minecraft/class_1688;field_7660:Znamed yawFlippedLnet/minecraft/entity/vehicle/AbstractMinecartEntity;yawFlipped:Z
-
clientInterpolationSteps
private int clientInterpolationSteps
- Mappings:
Namespace Name Mixin selector official awLbku;aw:Iintermediary field_7669Lnet/minecraft/class_1688;field_7669:Inamed clientInterpolationStepsLnet/minecraft/entity/vehicle/AbstractMinecartEntity;clientInterpolationSteps:I
-
clientX
private double clientX
- Mappings:
Namespace Name Mixin selector official axLbku;ax:Dintermediary field_7665Lnet/minecraft/class_1688;field_7665:Dnamed clientXLnet/minecraft/entity/vehicle/AbstractMinecartEntity;clientX:D
-
clientY
private double clientY
- Mappings:
Namespace Name Mixin selector official ayLbku;ay:Dintermediary field_7666Lnet/minecraft/class_1688;field_7666:Dnamed clientYLnet/minecraft/entity/vehicle/AbstractMinecartEntity;clientY:D
-
clientZ
private double clientZ
- Mappings:
Namespace Name Mixin selector official azLbku;az:Dintermediary field_7662Lnet/minecraft/class_1688;field_7662:Dnamed clientZLnet/minecraft/entity/vehicle/AbstractMinecartEntity;clientZ:D
-
clientYaw
private double clientYaw
- Mappings:
Namespace Name Mixin selector official aALbku;aA:Dintermediary field_7659Lnet/minecraft/class_1688;field_7659:Dnamed clientYawLnet/minecraft/entity/vehicle/AbstractMinecartEntity;clientYaw:D
-
clientPitch
private double clientPitch
- Mappings:
Namespace Name Mixin selector official aBLbku;aB:Dintermediary field_7657Lnet/minecraft/class_1688;field_7657:Dnamed clientPitchLnet/minecraft/entity/vehicle/AbstractMinecartEntity;clientPitch:D
-
clientXVelocity
private double clientXVelocity
- Mappings:
Namespace Name Mixin selector official aCLbku;aC:Dintermediary field_7658Lnet/minecraft/class_1688;field_7658:Dnamed clientXVelocityLnet/minecraft/entity/vehicle/AbstractMinecartEntity;clientXVelocity:D
-
clientYVelocity
private double clientYVelocity
- Mappings:
Namespace Name Mixin selector official aDLbku;aD:Dintermediary field_7655Lnet/minecraft/class_1688;field_7655:Dnamed clientYVelocityLnet/minecraft/entity/vehicle/AbstractMinecartEntity;clientYVelocity:D
-
clientZVelocity
private double clientZVelocity
- Mappings:
Namespace Name Mixin selector official aELbku;aE:Dintermediary field_7656Lnet/minecraft/class_1688;field_7656:Dnamed clientZVelocityLnet/minecraft/entity/vehicle/AbstractMinecartEntity;clientZVelocity:D
-
-
构造器详细资料
-
AbstractMinecartEntity
protected AbstractMinecartEntity(EntityType<?> type, World world)
- Mappings:
Namespace Name Mixin selector official <init>Lasl;<init>(Lasp;Lbvr;)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
-
AbstractMinecartEntity
protected AbstractMinecartEntity(EntityType<?> type, World world, double x, double y, double z)
- Mappings:
Namespace Name Mixin selector official <init>Lbku;<init>(Lasp;Lbvr;DDD)Vintermediary <init>Lnet/minecraft/class_1688;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;DDD)Vnamed <init>Lnet/minecraft/entity/vehicle/AbstractMinecartEntity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;DDD)V
-
-
方法详细资料
-
create
public static AbstractMinecartEntity create(World world, double x, double y, double z, AbstractMinecartEntity.Type type)
- Mappings:
Namespace Name Mixin selector official aLbku;a(Lbvr;DDDLbku$a;)Lbku;intermediary method_7523Lnet/minecraft/class_1688;method_7523(Lnet/minecraft/class_1937;DDDLnet/minecraft/class_1688$class_1689;)Lnet/minecraft/class_1688;named createLnet/minecraft/entity/vehicle/AbstractMinecartEntity;create(Lnet/minecraft/world/World;DDDLnet/minecraft/entity/vehicle/AbstractMinecartEntity$Type;)Lnet/minecraft/entity/vehicle/AbstractMinecartEntity;
-
getMoveEffect
protected Entity.MoveEffect getMoveEffect()
Returns the possible effect(s) of an entity moving.- 覆盖:
getMoveEffect在类中Entity- Mappings:
Namespace Name Mixin selector official aFLasl;aF()Lasl$b;intermediary method_33570Lnet/minecraft/class_1297;method_33570()Lnet/minecraft/class_1297$class_5799;named getMoveEffectLnet/minecraft/entity/Entity;getMoveEffect()Lnet/minecraft/entity/Entity$MoveEffect;
-
initDataTracker
protected void initDataTracker()
- 指定者:
initDataTracker在类中Entity- Mappings:
Namespace Name Mixin selector official eLasl;e()Vintermediary method_5693Lnet/minecraft/class_1297;method_5693()Vnamed initDataTrackerLnet/minecraft/entity/Entity;initDataTracker()V
-
collidesWith
public boolean collidesWith(Entity other)
- 覆盖:
collidesWith在类中Entity- Mappings:
Namespace Name Mixin selector official jLasl;j(Lasl;)Zintermediary method_30949Lnet/minecraft/class_1297;method_30949(Lnet/minecraft/class_1297;)Znamed collidesWithLnet/minecraft/entity/Entity;collidesWith(Lnet/minecraft/entity/Entity;)Z
-
isPushable
public boolean isPushable()
- 覆盖:
isPushable在类中Entity- Mappings:
Namespace Name Mixin selector official baLasl;ba()Zintermediary method_5810Lnet/minecraft/class_1297;method_5810()Znamed isPushableLnet/minecraft/entity/Entity;isPushable()Z
-
positionInPortal
protected Vec3d positionInPortal(Direction.Axis portalAxis, PortalUtil.Rectangle portalRect)
- 覆盖:
positionInPortal在类中Entity- Mappings:
Namespace Name Mixin selector official aLasl;a(Lgg$a;Ln$a;)Ldma;intermediary method_30633Lnet/minecraft/class_1297;method_30633(Lnet/minecraft/class_2350$class_2351;Lnet/minecraft/class_5459$class_5460;)Lnet/minecraft/class_243;named positionInPortalLnet/minecraft/entity/Entity;positionInPortal(Lnet/minecraft/util/math/Direction$Axis;Lnet/minecraft/world/PortalUtil$Rectangle;)Lnet/minecraft/util/math/Vec3d;
-
getMountedHeightOffset
public double getMountedHeightOffset()
- 覆盖:
getMountedHeightOffset在类中Entity- Mappings:
Namespace Name Mixin selector official biLasl;bi()Dintermediary method_5621Lnet/minecraft/class_1297;method_5621()Dnamed getMountedHeightOffsetLnet/minecraft/entity/Entity;getMountedHeightOffset()D
-
updatePassengerForDismount
public Vec3d updatePassengerForDismount(LivingEntity passenger)
- 覆盖:
updatePassengerForDismount在类中Entity- Mappings:
Namespace Name Mixin selector official bLasl;b(Lasy;)Ldma;intermediary method_24829Lnet/minecraft/class_1297;method_24829(Lnet/minecraft/class_1309;)Lnet/minecraft/class_243;named updatePassengerForDismountLnet/minecraft/entity/Entity;updatePassengerForDismount(Lnet/minecraft/entity/LivingEntity;)Lnet/minecraft/util/math/Vec3d;
-
damage
public boolean damage(DamageSource source, float amount)
-
getVelocityMultiplier
protected float getVelocityMultiplier()
- 覆盖:
getVelocityMultiplier在类中Entity- Mappings:
Namespace Name Mixin selector official auLasl;au()Fintermediary method_23326Lnet/minecraft/class_1297;method_23326()Fnamed getVelocityMultiplierLnet/minecraft/entity/Entity;getVelocityMultiplier()F
-
dropItems
public void dropItems(DamageSource damageSource)
- Mappings:
Namespace Name Mixin selector official aLbku;a(Larv;)Vintermediary method_7516Lnet/minecraft/class_1688;method_7516(Lnet/minecraft/class_1282;)Vnamed dropItemsLnet/minecraft/entity/vehicle/AbstractMinecartEntity;dropItems(Lnet/minecraft/entity/damage/DamageSource;)V
-
animateDamage
public void animateDamage()
- 覆盖:
animateDamage在类中Entity- Mappings:
Namespace Name Mixin selector official bsLasl;bs()Vintermediary method_5879Lnet/minecraft/class_1297;method_5879()Vnamed animateDamageLnet/minecraft/entity/Entity;animateDamage()V
-
collides
public boolean collides()
-
getAdjacentRailPositionsByShape
private static com.mojang.datafixers.util.Pair<Vec3i,Vec3i> getAdjacentRailPositionsByShape(RailShape shape)
- Mappings:
Namespace Name Mixin selector official aLbku;a(Lckv;)Lcom/mojang/datafixers/util/Pair;intermediary method_22864Lnet/minecraft/class_1688;method_22864(Lnet/minecraft/class_2768;)Lcom/mojang/datafixers/util/Pair;named getAdjacentRailPositionsByShapeLnet/minecraft/entity/vehicle/AbstractMinecartEntity;getAdjacentRailPositionsByShape(Lnet/minecraft/block/enums/RailShape;)Lcom/mojang/datafixers/util/Pair;
-
getMovementDirection
public Direction getMovementDirection()
- 覆盖:
getMovementDirection在类中Entity- Mappings:
Namespace Name Mixin selector official clLasl;cl()Lgg;intermediary method_5755Lnet/minecraft/class_1297;method_5755()Lnet/minecraft/class_2350;named getMovementDirectionLnet/minecraft/entity/Entity;getMovementDirection()Lnet/minecraft/util/math/Direction;
-
tick
public void tick()
-
getMaxOffRailSpeed
protected double getMaxOffRailSpeed()
- Mappings:
Namespace Name Mixin selector official gLbku;g()Dintermediary method_7504Lnet/minecraft/class_1688;method_7504()Dnamed getMaxOffRailSpeedLnet/minecraft/entity/vehicle/AbstractMinecartEntity;getMaxOffRailSpeed()D
-
onActivatorRail
public void onActivatorRail(int x, int y, int z, boolean powered)- Mappings:
Namespace Name Mixin selector official aLbku;a(IIIZ)Vintermediary method_7506Lnet/minecraft/class_1688;method_7506(IIIZ)Vnamed onActivatorRailLnet/minecraft/entity/vehicle/AbstractMinecartEntity;onActivatorRail(IIIZ)V
-
moveOffRail
protected void moveOffRail()
- Mappings:
Namespace Name Mixin selector official hLbku;h()Vintermediary method_7512Lnet/minecraft/class_1688;method_7512()Vnamed moveOffRailLnet/minecraft/entity/vehicle/AbstractMinecartEntity;moveOffRail()V
-
moveOnRail
protected void moveOnRail(BlockPos pos, BlockState state)
- Mappings:
Namespace Name Mixin selector official cLbku;c(Lgb;Lcjr;)Vintermediary method_7513Lnet/minecraft/class_1688;method_7513(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Vnamed moveOnRailLnet/minecraft/entity/vehicle/AbstractMinecartEntity;moveOnRail(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
-
willHitBlockAt
private boolean willHitBlockAt(BlockPos pos)
- Mappings:
Namespace Name Mixin selector official aLbku;a(Lgb;)Zintermediary method_18803Lnet/minecraft/class_1688;method_18803(Lnet/minecraft/class_2338;)Znamed willHitBlockAtLnet/minecraft/entity/vehicle/AbstractMinecartEntity;willHitBlockAt(Lnet/minecraft/util/math/BlockPos;)Z
-
applySlowdown
protected void applySlowdown()
- Mappings:
Namespace Name Mixin selector official iLbku;i()Vintermediary method_7525Lnet/minecraft/class_1688;method_7525()Vnamed applySlowdownLnet/minecraft/entity/vehicle/AbstractMinecartEntity;applySlowdown()V
-
snapPositionToRailWithOffset
@Nullable public @Nullable Vec3d snapPositionToRailWithOffset(double x, double y, double z, double offset)
This method is used to determine the minecart's render orientation, by computing a position along the rail slightly before and slightly after the minecart's actual position.- Mappings:
Namespace Name Mixin selector official aLbku;a(DDDD)Ldma;intermediary method_7505Lnet/minecraft/class_1688;method_7505(DDDD)Lnet/minecraft/class_243;named snapPositionToRailWithOffsetLnet/minecraft/entity/vehicle/AbstractMinecartEntity;snapPositionToRailWithOffset(DDDD)Lnet/minecraft/util/math/Vec3d;
-
snapPositionToRail
@Nullable public @Nullable Vec3d snapPositionToRail(double x, double y, double z)
- Mappings:
Namespace Name Mixin selector official pLbku;p(DDD)Ldma;intermediary method_7508Lnet/minecraft/class_1688;method_7508(DDD)Lnet/minecraft/class_243;named snapPositionToRailLnet/minecraft/entity/vehicle/AbstractMinecartEntity;snapPositionToRail(DDD)Lnet/minecraft/util/math/Vec3d;
-
getVisibilityBoundingBox
public Box getVisibilityBoundingBox()
- 覆盖:
getVisibilityBoundingBox在类中Entity- Mappings:
Namespace Name Mixin selector official coLasl;co()Ldlv;intermediary method_5830Lnet/minecraft/class_1297;method_5830()Lnet/minecraft/class_238;named getVisibilityBoundingBoxLnet/minecraft/entity/Entity;getVisibilityBoundingBox()Lnet/minecraft/util/math/Box;
-
readCustomDataFromNbt
protected void readCustomDataFromNbt(CompoundTag nbt)
- 指定者:
readCustomDataFromNbt在类中Entity- Mappings:
Namespace Name Mixin selector official aLasl;a(Lmv;)Vintermediary method_5749Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)Vnamed readCustomDataFromNbtLnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/CompoundTag;)V
-
writeCustomDataToNbt
protected void writeCustomDataToNbt(CompoundTag nbt)
- 指定者:
writeCustomDataToNbt在类中Entity- Mappings:
Namespace Name Mixin selector official bLasl;b(Lmv;)Vintermediary method_5652Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)Vnamed writeCustomDataToNbtLnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/CompoundTag;)V
-
pushAwayFrom
public void pushAwayFrom(Entity entity)
- 覆盖:
pushAwayFrom在类中Entity- Mappings:
Namespace Name Mixin selector official iLasl;i(Lasl;)Vintermediary method_5697Lnet/minecraft/class_1297;method_5697(Lnet/minecraft/class_1297;)Vnamed pushAwayFromLnet/minecraft/entity/Entity;pushAwayFrom(Lnet/minecraft/entity/Entity;)V
-
updateTrackedPositionAndAngles
public void updateTrackedPositionAndAngles(double x, double y, double z, float yaw, float pitch, int interpolationSteps, boolean interpolate)- 覆盖:
updateTrackedPositionAndAngles在类中Entity- Mappings:
Namespace Name Mixin selector official aLasl;a(DDDFFIZ)Vintermediary method_5759Lnet/minecraft/class_1297;method_5759(DDDFFIZ)Vnamed updateTrackedPositionAndAnglesLnet/minecraft/entity/Entity;updateTrackedPositionAndAngles(DDDFFIZ)V
-
setVelocityClient
public void setVelocityClient(double x, double y, double z)- 覆盖:
setVelocityClient在类中Entity- Mappings:
Namespace Name Mixin selector official kLasl;k(DDD)Vintermediary method_5750Lnet/minecraft/class_1297;method_5750(DDD)Vnamed setVelocityClientLnet/minecraft/entity/Entity;setVelocityClient(DDD)V
-
setDamageWobbleStrength
public void setDamageWobbleStrength(float damageWobbleStrength)
- Mappings:
Namespace Name Mixin selector official aLbku;a(F)Vintermediary method_7520Lnet/minecraft/class_1688;method_7520(F)Vnamed setDamageWobbleStrengthLnet/minecraft/entity/vehicle/AbstractMinecartEntity;setDamageWobbleStrength(F)V
-
getDamageWobbleStrength
public float getDamageWobbleStrength()
- Mappings:
Namespace Name Mixin selector official kLbku;k()Fintermediary method_7521Lnet/minecraft/class_1688;method_7521()Fnamed getDamageWobbleStrengthLnet/minecraft/entity/vehicle/AbstractMinecartEntity;getDamageWobbleStrength()F
-
setDamageWobbleTicks
public void setDamageWobbleTicks(int wobbleTicks)
- Mappings:
Namespace Name Mixin selector official cLbku;c(I)Vintermediary method_7509Lnet/minecraft/class_1688;method_7509(I)Vnamed setDamageWobbleTicksLnet/minecraft/entity/vehicle/AbstractMinecartEntity;setDamageWobbleTicks(I)V
-
getDamageWobbleTicks
public int getDamageWobbleTicks()
- Mappings:
Namespace Name Mixin selector official mLbku;m()Iintermediary method_7507Lnet/minecraft/class_1688;method_7507()Inamed getDamageWobbleTicksLnet/minecraft/entity/vehicle/AbstractMinecartEntity;getDamageWobbleTicks()I
-
setDamageWobbleSide
public void setDamageWobbleSide(int wobbleSide)
- Mappings:
Namespace Name Mixin selector official dLbku;d(I)Vintermediary method_7524Lnet/minecraft/class_1688;method_7524(I)Vnamed setDamageWobbleSideLnet/minecraft/entity/vehicle/AbstractMinecartEntity;setDamageWobbleSide(I)V
-
getDamageWobbleSide
public int getDamageWobbleSide()
- Mappings:
Namespace Name Mixin selector official nLbku;n()Iintermediary method_7522Lnet/minecraft/class_1688;method_7522()Inamed getDamageWobbleSideLnet/minecraft/entity/vehicle/AbstractMinecartEntity;getDamageWobbleSide()I
-
getMinecartType
public abstract AbstractMinecartEntity.Type getMinecartType()
- Mappings:
Namespace Name Mixin selector official oLbku;o()Lbku$a;intermediary method_7518Lnet/minecraft/class_1688;method_7518()Lnet/minecraft/class_1688$class_1689;named getMinecartTypeLnet/minecraft/entity/vehicle/AbstractMinecartEntity;getMinecartType()Lnet/minecraft/entity/vehicle/AbstractMinecartEntity$Type;
-
getContainedBlock
public BlockState getContainedBlock()
- Mappings:
Namespace Name Mixin selector official pLbku;p()Lcjr;intermediary method_7519Lnet/minecraft/class_1688;method_7519()Lnet/minecraft/class_2680;named getContainedBlockLnet/minecraft/entity/vehicle/AbstractMinecartEntity;getContainedBlock()Lnet/minecraft/block/BlockState;
-
getDefaultContainedBlock
public BlockState getDefaultContainedBlock()
- Mappings:
Namespace Name Mixin selector official qLbku;q()Lcjr;intermediary method_7517Lnet/minecraft/class_1688;method_7517()Lnet/minecraft/class_2680;named getDefaultContainedBlockLnet/minecraft/entity/vehicle/AbstractMinecartEntity;getDefaultContainedBlock()Lnet/minecraft/block/BlockState;
-
getBlockOffset
public int getBlockOffset()
- Mappings:
Namespace Name Mixin selector official rLbku;r()Iintermediary method_7514Lnet/minecraft/class_1688;method_7514()Inamed getBlockOffsetLnet/minecraft/entity/vehicle/AbstractMinecartEntity;getBlockOffset()I
-
getDefaultBlockOffset
public int getDefaultBlockOffset()
- Mappings:
Namespace Name Mixin selector official sLbku;s()Iintermediary method_7526Lnet/minecraft/class_1688;method_7526()Inamed getDefaultBlockOffsetLnet/minecraft/entity/vehicle/AbstractMinecartEntity;getDefaultBlockOffset()I
-
setCustomBlock
public void setCustomBlock(BlockState state)
- Mappings:
Namespace Name Mixin selector official bLbku;b(Lcjr;)Vintermediary method_7527Lnet/minecraft/class_1688;method_7527(Lnet/minecraft/class_2680;)Vnamed setCustomBlockLnet/minecraft/entity/vehicle/AbstractMinecartEntity;setCustomBlock(Lnet/minecraft/block/BlockState;)V
-
setCustomBlockOffset
public void setCustomBlockOffset(int offset)
- Mappings:
Namespace Name Mixin selector official mLbku;m(I)Vintermediary method_7515Lnet/minecraft/class_1688;method_7515(I)Vnamed setCustomBlockOffsetLnet/minecraft/entity/vehicle/AbstractMinecartEntity;setCustomBlockOffset(I)V
-
hasCustomBlock
public boolean hasCustomBlock()
- Mappings:
Namespace Name Mixin selector official uLbku;u()Zintermediary method_7510Lnet/minecraft/class_1688;method_7510()Znamed hasCustomBlockLnet/minecraft/entity/vehicle/AbstractMinecartEntity;hasCustomBlock()Z
-
setCustomBlockPresent
public void setCustomBlockPresent(boolean present)
- Mappings:
Namespace Name Mixin selector official aLbku;a(Z)Vintermediary method_7511Lnet/minecraft/class_1688;method_7511(Z)Vnamed setCustomBlockPresentLnet/minecraft/entity/vehicle/AbstractMinecartEntity;setCustomBlockPresent(Z)V
-
createSpawnPacket
public Packet<?> createSpawnPacket()
- 指定者:
createSpawnPacket在类中Entity- Mappings:
Namespace Name Mixin selector official OLasl;O()Lpf;intermediary method_18002Lnet/minecraft/class_1297;method_18002()Lnet/minecraft/class_2596;named createSpawnPacketLnet/minecraft/entity/Entity;createSpawnPacket()Lnet/minecraft/network/Packet;
-
getPickBlockStack
public ItemStack getPickBlockStack()
- 覆盖:
getPickBlockStack在类中Entity- Mappings:
Namespace Name Mixin selector official daLasl;da()Lbpr;intermediary method_31480Lnet/minecraft/class_1297;method_31480()Lnet/minecraft/class_1799;named getPickBlockStackLnet/minecraft/entity/Entity;getPickBlockStack()Lnet/minecraft/item/ItemStack;
-
-