Package net.minecraft.entity.vehicle
Class HopperMinecartEntity
java.lang.Object
net.minecraft.entity.Entity
net.minecraft.entity.vehicle.AbstractMinecartEntity
net.minecraft.entity.vehicle.StorageMinecartEntity
net.minecraft.entity.vehicle.HopperMinecartEntity
- All Implemented Interfaces:
LockableScreenHandlerFactory,class_2964,CommandSource,Inventory,NamedScreenHandlerFactory,Nameable,HopperProvider
- Mappings:
Namespace Name official aavintermediary net/minecraft/class_1576named net/minecraft/entity/vehicle/HopperMinecartEntity
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.vehicle.AbstractMinecartEntity
AbstractMinecartEntity.Type -
Field Summary
FieldsFields inherited from class net.minecraft.entity.Entity
changingDimension, chunkX, chunkY, chunkZ, colliding, dataTracker, dimension, distanceTraveled, fallDistance, field_3223, fireResistance, firstUpdate, FLAGS, height, horizontalCollision, horizontalSpeed, ignoreCameraFrustum, inanimate, inLava, isFireImmune, isGlowing, lastPortalBlockPos, lastPortalVec3d, netherPortalCooldown, netherPortalTime, noClip, onGround, pitch, playerUuid, prevHorizontalSpeed, prevPitch, prevTickX, prevTickY, prevTickZ, prevX, prevY, prevYaw, prevZ, pushSpeedReduction, random, removed, ridingCooldown, stepHeight, teleportDirection, teleporting, ticksAlive, touchingWater, tracedX, tracedY, tracedZ, updateNeeded, uuidString, velocityDirty, velocityModified, velocityX, velocityY, velocityZ, verticalCollision, width, world, x, y, yaw, z -
Constructor Summary
ConstructorsConstructorDescriptionHopperMinecartEntity(World world) HopperMinecartEntity(World world, double x, double y, double z) -
Method Summary
Modifier and TypeMethodDescriptionbooleancreateScreenHandler(PlayerInventory inventory, PlayerEntity player) voiddropItems(DamageSource damageSource) intgetId()intdoublegetX()doublegetY()doublegetZ()booleanbooleanstatic voidmethod_13307(class_2934 class_2934) booleanmethod_6100(PlayerEntity playerEntity, ItemStack itemStack, Hand hand) voidonActivatorRail(int x, int y, int z, boolean powered) protected voidvoidsetEnabled(boolean enabled) voidsetTransferCooldown(int cooldown) voidtick()protected voidMethods inherited from class net.minecraft.entity.vehicle.StorageMinecartEntity
applySlowdown, canPlayerUseInv, changeDimension, clear, generateLoot, getInvMaxStackAmount, getInvStack, getLock, getLootTableId, getProperties, getProperty, hasLock, isValidInvStack, markDirty, method_12991, method_13305, onInvClose, onInvOpen, remove, removeInvStack, setInvStack, setLock, setLootTable, setProperty, takeInvStackMethods inherited from class net.minecraft.entity.vehicle.AbstractMinecartEntity
animateDamage, canClimb, collides, createMinecart, damage, getBlockOffset, getBox, getContainedBlock, getDamageWobbleSide, getDamageWobbleStrength, getDamageWobbleTicks, getHardCollisionBox, getMaxOffRailSpeed, getMountedHeightOffset, getMovementDirection, getVisibilityBoundingBox, hasCustomBlock, initDataTracker, isPushable, method_13302, moveOffRail, moveOnRail, pushAwayFrom, setCustomBlock, setCustomBlockOffset, setCustomBlockPresent, setDamageWobbleSide, setDamageWobbleStrength, setDamageWobbleTicks, setVelocityClient, snapPositionToRail, snapPositionToRailWithOffset, updatePosition, updateTrackedPositionAndAnglesMethods inherited from class net.minecraft.entity.Entity
addPassenger, addScoreboardTag, addVelocity, afterSpawn, applyMirror, applyRotation, attemptSprintingParticles, baseTick, burn, canAddPassenger, canAvoidTraps, canExplosionDestroyBlock, canFly, canStartRiding, canUseCommand, canUsePortals, checkBlockCollision, copyPosition, dealDamage, destroy, distanceTo, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropItem, entityDataRequiresOperator, equals, equip, equipStack, extinguish, fall, fromNbt, getAir, getArmorItems, getBlastResistance, getBlockPos, getBoundingBox, getBrightnessAtEyes, getCameraPosVec, getCommandStats, getCustomName, getDataTracker, getDefaultNetherPortalCooldown, getEntity, getEntityId, getEntityName, getEyeHeight, getFlag, getHeadRotation, getHeightOffset, getHorizontalDirection, getHoverEvent, getItemsEquipped, getItemsHand, getLastNetherPortalDirection, getLastNetherPortalDirectionVector, getLightmapCoordinates, getMaxNetherPortalTime, getMinecraftServer, getParts, getPassengerList, getPassengersDeep, getPassengersDeep, getPistonBehavior, getPos, getPrimaryPassenger, getRenderDistanceMultiplier, getRootVehicle, getRotation, getRotationClient, getRotationVecClient, getRotationVector, getRotationVector, getSafeFallDistance, getSavedEntityId, getScoreboardTags, getScoreboardTeam, getSoundCategory, getTargetingMargin, getTranslationKey, getUuid, getVehicle, getWorld, handleAttack, handleFallDamage, handleStatus, hasCustomName, hashCode, hasMount, hasNoGravity, hasPassenger, hasPassengerDeep, hasPassengers, increaseTransforms, isAlive, isAttackable, isConnectedThroughVehicle, isCustomNameVisible, isFireImmune, isGlowing, isImmuneToExplosion, isInsideWall, isInvisible, isInvisibleTo, isInvulnerableTo, isOnFire, isOutsideWorldborder, isPartOf, isSilent, isSneaking, isSpectatedBy, isSprinting, isSubmergedIn, isTeammate, isTeamPlayer, isTouchingLava, isTouchingWater, kill, method_10965, method_12976, method_12984, method_12985, method_13003, method_6344, move, onKilledOther, onLightningStrike, onPassengerLookAround, onPlayerCollision, onStartedTrackingBy, onStoppedTrackingBy, onSwimmingStart, onTrackedDataSet, playSound, playStepSound, populateCrashReport, pushOutOfBlocks, rayTrace, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, removeAllPassengers, removePassenger, removeScoreboardTag, ride, saveSelfToNbt, saveToNbt, scheduleVelocityUpdate, sendCommandFeedback, sendMessage, setAir, setBoundingBox, setBounds, setCustomName, setCustomNameVisible, setEntityId, setFlag, setGlowing, setHeadYaw, setInLava, setInNetherPortal, setInvisible, setInvulnerable, setNoGravity, setOnFireFor, setOnFireFromLava, setOutsideWorldborder, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSprinting, setStat, setUuid, setWorld, setYaw, shouldRender, shouldRender, shouldRenderName, shouldSetPositionOnLoad, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, squaredDistanceToCenter, startRiding, stopRiding, teleportRequested, tickFire, tickNetherPortalCooldown, tickRiding, toListNbt, toListNbt, toNbt, toString, updateKilledAdvancementCriterion, updatePassengerPosition, updatePositionAndAngles, updateSubmergedInWaterState, updateVelocity, updateWaterStateMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.inventory.Inventory
canPlayerUseInv, clear, getInvMaxStackAmount, getInvStack, getProperties, getProperty, isValidInvStack, markDirty, onInvClose, onInvOpen, removeInvStack, setInvStack, setProperty, takeInvStackMethods inherited from interface net.minecraft.text.Nameable
getTranslationKey, hasCustomName, method_6344
-
Field Details
-
enabled
private boolean enabled- Mappings:
Namespace Name Mixin selector official aLaav;a:Zintermediary field_6149Lnet/minecraft/class_1576;field_6149:Znamed enabledLnet/minecraft/entity/vehicle/HopperMinecartEntity;enabled:Z
-
transferCooldown
private int transferCooldown- Mappings:
Namespace Name Mixin selector official bLaav;b:Iintermediary field_6150Lnet/minecraft/class_1576;field_6150:Inamed transferCooldownLnet/minecraft/entity/vehicle/HopperMinecartEntity;transferCooldown:I
-
currentBlockPos
- Mappings:
Namespace Name Mixin selector official cLaav;c:Lcm;intermediary field_12049Lnet/minecraft/class_1576;field_12049:Lnet/minecraft/class_2552;named currentBlockPosLnet/minecraft/entity/vehicle/HopperMinecartEntity;currentBlockPos:Lnet/minecraft/util/math/BlockPos;
-
-
Constructor Details
-
HopperMinecartEntity
- Mappings:
Namespace Name Mixin selector official <init>Lrw;<init>(Laid;)Vintermediary <init>Lnet/minecraft/class_864;<init>(Lnet/minecraft/class_1150;)Vnamed <init>Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/world/World;)V
-
HopperMinecartEntity
- Mappings:
Namespace Name Mixin selector official <init>Laaq;<init>(Laid;DDD)Vintermediary <init>Lnet/minecraft/class_965;<init>(Lnet/minecraft/class_1150;DDD)Vnamed <init>Lnet/minecraft/entity/vehicle/AbstractMinecartEntity;<init>(Lnet/minecraft/world/World;DDD)V
-
-
Method Details
-
getMinecartType
- Specified by:
getMinecartTypein classAbstractMinecartEntity- Mappings:
Namespace Name Mixin selector official vLaaq;v()Laaq$a;intermediary method_11169Lnet/minecraft/class_965;method_11169()Lnet/minecraft/class_965$class_2638;named getMinecartTypeLnet/minecraft/entity/vehicle/AbstractMinecartEntity;getMinecartType()Lnet/minecraft/entity/vehicle/AbstractMinecartEntity$Type;
-
getDefaultContainedBlock
- Overrides:
getDefaultContainedBlockin classAbstractMinecartEntity- Mappings:
Namespace Name Mixin selector official xLaaq;x()Lars;intermediary method_11171Lnet/minecraft/class_965;method_11171()Lnet/minecraft/class_2232;named getDefaultContainedBlockLnet/minecraft/entity/vehicle/AbstractMinecartEntity;getDefaultContainedBlock()Lnet/minecraft/block/BlockState;
-
getDefaultBlockOffset
public int getDefaultBlockOffset()- Overrides:
getDefaultBlockOffsetin classAbstractMinecartEntity- Mappings:
Namespace Name Mixin selector official zLaaq;z()Iintermediary method_5425Lnet/minecraft/class_965;method_5425()Inamed getDefaultBlockOffsetLnet/minecraft/entity/vehicle/AbstractMinecartEntity;getDefaultBlockOffset()I
-
getInvSize
public int getInvSize()- Specified by:
getInvSizein interfaceInventory- Mappings:
Namespace Name Mixin selector official u_Lql;u_()Iintermediary method_2388Lnet/minecraft/class_849;method_2388()Inamed getInvSizeLnet/minecraft/inventory/Inventory;getInvSize()I
-
method_6100
- Overrides:
method_6100in classStorageMinecartEntity- Mappings:
Namespace Name Mixin selector official aLrw;a(Lzs;Ladz;Lqr;)Zintermediary method_6100Lnet/minecraft/class_864;method_6100(Lnet/minecraft/class_988;Lnet/minecraft/class_1071;Lnet/minecraft/class_2961;)Znamed method_6100Lnet/minecraft/entity/Entity;method_6100(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/item/ItemStack;Lnet/minecraft/util/Hand;)Z
-
onActivatorRail
public void onActivatorRail(int x, int y, int z, boolean powered) - Overrides:
onActivatorRailin classAbstractMinecartEntity- Mappings:
Namespace Name Mixin selector official aLaaq;a(IIIZ)Vintermediary method_5409Lnet/minecraft/class_965;method_5409(IIIZ)Vnamed onActivatorRailLnet/minecraft/entity/vehicle/AbstractMinecartEntity;onActivatorRail(IIIZ)V
-
isEnabled
public boolean isEnabled()- Mappings:
Namespace Name Mixin selector official CLaav;C()Zintermediary method_5432Lnet/minecraft/class_1576;method_5432()Znamed isEnabledLnet/minecraft/entity/vehicle/HopperMinecartEntity;isEnabled()Z
-
setEnabled
public void setEnabled(boolean enabled) - Mappings:
Namespace Name Mixin selector official lLaav;l(Z)Vintermediary method_5433Lnet/minecraft/class_1576;method_5433(Z)Vnamed setEnabledLnet/minecraft/entity/vehicle/HopperMinecartEntity;setEnabled(Z)V
-
getEntityWorld
- Specified by:
getEntityWorldin interfaceHopperProvider- Mappings:
Namespace Name Mixin selector official DLaqw;D()Laid;intermediary method_548Lnet/minecraft/class_1462;method_548()Lnet/minecraft/class_1150;named getEntityWorldLnet/minecraft/util/HopperProvider;getEntityWorld()Lnet/minecraft/world/World;
-
getX
public double getX()- Specified by:
getXin interfaceHopperProvider- Mappings:
Namespace Name Mixin selector official ELaqw;E()Dintermediary method_4817Lnet/minecraft/class_1462;method_4817()Dnamed getXLnet/minecraft/util/HopperProvider;getX()D
-
getY
public double getY()- Specified by:
getYin interfaceHopperProvider- Mappings:
Namespace Name Mixin selector official FLaqw;F()Dintermediary method_4818Lnet/minecraft/class_1462;method_4818()Dnamed getYLnet/minecraft/util/HopperProvider;getY()D
-
getZ
public double getZ()- Specified by:
getZin interfaceHopperProvider- Mappings:
Namespace Name Mixin selector official GLaqw;G()Dintermediary method_4819Lnet/minecraft/class_1462;method_4819()Dnamed getZLnet/minecraft/util/HopperProvider;getZ()D
-
tick
public void tick()- Overrides:
tickin classAbstractMinecartEntity- Mappings:
Namespace Name Mixin selector official mLrw;m()Vintermediary method_2558Lnet/minecraft/class_864;method_2558()Vnamed tickLnet/minecraft/entity/Entity;tick()V
-
canOperate
public boolean canOperate()- Mappings:
Namespace Name Mixin selector official ILaav;I()Zintermediary method_5430Lnet/minecraft/class_1576;method_5430()Znamed canOperateLnet/minecraft/entity/vehicle/HopperMinecartEntity;canOperate()Z
-
dropItems
- Overrides:
dropItemsin classStorageMinecartEntity- Mappings:
Namespace Name Mixin selector official aLaaq;a(Lrh;)Vintermediary method_5412Lnet/minecraft/class_965;method_5412(Lnet/minecraft/class_856;)Vnamed dropItemsLnet/minecraft/entity/vehicle/AbstractMinecartEntity;dropItems(Lnet/minecraft/entity/damage/DamageSource;)V
-
method_13307
- Mappings:
Namespace Name Mixin selector official aLaav;a(Lpd;)Vintermediary method_13307Lnet/minecraft/class_1576;method_13307(Lnet/minecraft/class_2934;)Vnamed method_13307Lnet/minecraft/entity/vehicle/HopperMinecartEntity;method_13307(Lnet/minecraft/class_2934;)V
-
writeCustomDataToNbt
- Overrides:
writeCustomDataToNbtin classStorageMinecartEntity- Mappings:
Namespace Name Mixin selector official bLrw;b(Ldr;)Vintermediary method_2528Lnet/minecraft/class_864;method_2528(Lnet/minecraft/class_322;)Vnamed writeCustomDataToNbtLnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
readCustomDataFromNbt
- Overrides:
readCustomDataFromNbtin classStorageMinecartEntity- Mappings:
Namespace Name Mixin selector official aLrw;a(Ldr;)Vintermediary method_2498Lnet/minecraft/class_864;method_2498(Lnet/minecraft/class_322;)Vnamed readCustomDataFromNbtLnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
setTransferCooldown
public void setTransferCooldown(int cooldown) - Mappings:
Namespace Name Mixin selector official gLaav;g(I)Vintermediary method_5434Lnet/minecraft/class_1576;method_5434(I)Vnamed setTransferCooldownLnet/minecraft/entity/vehicle/HopperMinecartEntity;setTransferCooldown(I)V
-
isCoolingDown
public boolean isCoolingDown()- Mappings:
Namespace Name Mixin selector official JLaav;J()Zintermediary method_5431Lnet/minecraft/class_1576;method_5431()Znamed isCoolingDownLnet/minecraft/entity/vehicle/HopperMinecartEntity;isCoolingDown()Z
-
getId
- Specified by:
getIdin interfaceNamedScreenHandlerFactory- Mappings:
Namespace Name Mixin selector official kLqs;k()Ljava/lang/String;intermediary method_10906Lnet/minecraft/class_2608;method_10906()Ljava/lang/String;named getIdLnet/minecraft/screen/NamedScreenHandlerFactory;getId()Ljava/lang/String;
-
createScreenHandler
- Specified by:
createScreenHandlerin interfaceNamedScreenHandlerFactory- Mappings:
Namespace Name Mixin selector official aLqs;a(Lzr;Lzs;)Labd;intermediary method_10905Lnet/minecraft/class_2608;method_10905(Lnet/minecraft/class_987;Lnet/minecraft/class_988;)Lnet/minecraft/class_1002;named createScreenHandlerLnet/minecraft/screen/NamedScreenHandlerFactory;createScreenHandler(Lnet/minecraft/entity/player/PlayerInventory;Lnet/minecraft/entity/player/PlayerEntity;)Lnet/minecraft/screen/ScreenHandler;
-