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,class_3893,Inventory,NamedScreenHandlerFactory,Nameable,HopperProvider
- Mappings:
Namespace Name official apointermediary 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, distanceTraveled, fallDistance, field_16693, field_16694, field_16696, field_3223, firstUpdate, FLAGS, height, horizontalCollision, horizontalSpeed, ignoreCameraFrustum, inanimate, inLava, isFireImmune, isGlowing, lastPortalBlockPos, lastPortalVec3d, LOGGER_, 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, zFields inherited from interface net.minecraft.util.HopperProvider
field_18637, field_18638, field_18639 -
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()booleaninteract(PlayerEntity player, Hand hand) booleanbooleanvoidonActivatorRail(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, clear, equip, generateLoot, getInvMaxStackAmount, getInvStack, getLock, getLootTableId, getProperties, getProperty, hasLock, isEmpty, isValidInvStack, markDirty, method_12991, method_15562, onInvClose, onInvOpen, remove, removeInvStack, setInvStack, setLock, setLootTable, setProperty, takeInvStackMethods inherited from class net.minecraft.entity.vehicle.AbstractMinecartEntity
animateDamage, canClimb, collides, createMinecart, damage, getBlockOffset, getContainedBlock, getDamageWobbleSide, getDamageWobbleStrength, getDamageWobbleTicks, getHardCollisionBox, getMaxOffRailSpeed, getMountedHeightOffset, getMovementDirection, getVisibilityBoundingBox, hasCustomBlock, initDataTracker, isPushable, 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, canFly, canStartRiding, canUsePortals, checkBlockCollision, copyPortalInfo, copyPosition, dealDamage, destroy, distanceTo, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, entityDataRequiresOperator, equals, equipStack, extinguish, fall, fromNbt, getAir, getArmorItems, getBoundingBox, getBox, getBrightnessAtEyes, getBurningDuration, getCameraPosVec, getDataTracker, getDefaultNetherPortalCooldown, getEntityId, getEntityName, getEyeHeight, getFlag, getHeadRotation, getHeightOffset, getHorizontalDirection, getHoverEvent, getItemsEquipped, getItemsHand, getLastNetherPortalDirection, getLastNetherPortalDirectionVector, getLightmapCoordinates, getMaxNetherPortalTime, getParts, getPassengerList, getPassengersDeep, getPistonBehavior, getPrimaryPassenger, getRenderDistanceMultiplier, getRootVehicle, getRotation, getRotationClient, getRotationVecClient, getRotationVector, getRotationVector, getSafeFallDistance, getSavedEntityId, getScoreboardTags, getScoreboardTeam, getSoundCategory, getTargetingMargin, getUuid, getVehicle, handleAttack, handleFallDamage, handleStatus, hasCustomName, hashCode, hasMount, hasNoGravity, hasPassenger, hasPassengerDeep, hasPassengers, interactAt, isAlive, isAttackable, isConnectedThroughVehicle, isCustomNameVisible, isFireImmune, isGlowing, isImmuneToExplosion, isInsideWall, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isOnFire, isOutsideWorldborder, isPartOf, isSilent, isSneaking, isSpectatedBy, isSprinting, isTeammate, isTeamPlayer, isTouchingLava, isTouchingWater, kill, method_10787, method_10931, method_10932, method_10933, method_10936, method_12265, method_12833, method_12984, method_12985, method_13003, method_15051, method_15055, method_15540, method_15541, method_15557, method_15558, method_15559, method_15560, method_15561, method_15563, method_15564, method_15566, method_15567, method_15569, method_15570, method_15571, method_15572, method_15573, method_15574, method_15575, method_15576, method_15577, method_15578, method_15580, method_15581, method_15582, method_15583, method_15584, method_15585, method_15586, method_15588, method_15589, method_15590, method_15591, method_15592, method_15593, method_15594, method_17412, method_17413, method_17414, method_2492, method_4086, method_5505, method_5506, method_6344, move, onBlockCollision, onKilledOther, onLightningStrike, onPassengerLookAround, onPlayerCollision, onStartedTrackingBy, onStoppedTrackingBy, onSwimmingStart, onTrackedDataSet, playSound, populateCrashReport, pushOutOfBlocks, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, removeAllPassengers, removePassenger, removeScoreboardTag, ride, saveSelfToNbt, saveToNbt, scheduleVelocityUpdate, setAir, setBoundingBox, setBounds, setCustomNameVisible, setEntityId, setFlag, setGlowing, setHeadYaw, setInLava, setInNetherPortal, setInvisible, setInvulnerable, setNoGravity, setOnFireFor, setOnFireFromLava, setOutsideWorldborder, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSprinting, setUuid, setWorld, setYaw, shouldRender, shouldRender, shouldRenderName, shouldSetPositionOnLoad, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, squaredDistanceToCenter, startRiding, stopRiding, teleportRequested, tickFire, tickNetherPortalCooldown, tickRiding, toListNbt, toListNbt, toNbt, toString, updateKilledAchievement, updatePassengerPosition, updatePositionAndAngles, updateSubmergedInWaterState, updateWaterStateMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.util.HopperProvider
method_16820Methods inherited from interface net.minecraft.inventory.Inventory
canPlayerUseInv, clear, getHeight, getInvMaxStackAmount, getInvStack, getProperties, getProperty, isEmpty, isValidInvStack, markDirty, method_11260, onInvClose, onInvOpen, removeInvStack, setInvStack, setProperty, takeInvStackMethods inherited from interface net.minecraft.text.Nameable
hasCustomName, method_15540, method_15541, method_6344
-
Field Details
-
enabled
private boolean enabled- Mappings:
Namespace Name Mixin selector official dLapo;d: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 eLapo;e:Iintermediary field_6150Lnet/minecraft/class_1576;field_6150:Inamed transferCooldownLnet/minecraft/entity/vehicle/HopperMinecartEntity;transferCooldown:I
-
currentBlockPos
- Mappings:
Namespace Name Mixin selector official fLapo;f:Lel;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>Laer;<init>(Laxy;)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>Laph;<init>(Laxy;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 vLaph;v()Laph$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 zLaph;z()Lblc;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 BLaph;B()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 T_Lade;T_()Iintermediary method_2388Lnet/minecraft/class_849;method_2388()Inamed getInvSizeLnet/minecraft/inventory/Inventory;getInvSize()I
-
interact
- Overrides:
interactin classStorageMinecartEntity- Mappings:
Namespace Name Mixin selector official bLaer;b(Laog;Ladk;)Zintermediary method_6100Lnet/minecraft/class_864;method_6100(Lnet/minecraft/class_988;Lnet/minecraft/class_2961;)Znamed interactLnet/minecraft/entity/Entity;interact(Lnet/minecraft/entity/player/PlayerEntity;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 aLaph;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 DLapo;D()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 oLapo;o(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 FLbjv;F()Laxy;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 GLbjv;G()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 HLbjv;H()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 ILbjv;I()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 R_Laer;R_()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 JLapo;J()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 aLaph;a(Laea;)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
-
writeCustomDataToNbt
- Overrides:
writeCustomDataToNbtin classStorageMinecartEntity- Mappings:
Namespace Name Mixin selector official bLaer;b(Lgy;)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 aLaer;a(Lgy;)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 mLapo;m(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 KLapo;K()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 lLadl;l()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 aLadl;a(Laof;Laog;)Lapv;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;
-