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:
Inventory,HopperProvider
- Mappings:
Namespace Name official wcintermediary net/minecraft/class_1576named net/minecraft/entity/vehicle/HopperMinecartEntity
-
Field Summary
FieldsFields inherited from class net.minecraft.entity.Entity
boundingBox, changingDimension, chunkX, chunkY, chunkZ, colliding, dataTracker, dimension, distanceTraveled, fallDistance, field_3203, field_3214, field_3223, field_3232, fireResistance, height, heightOffset, horizontalCollision, horizontalSpeed, ignoreCameraFrustum, inanimate, inLava, isFireImmune, lastNetherPortalAxis, netherPortalCooldown, netherPortalTime, noClip, onGround, pitch, playerUuid, prevHorizontalSpeed, prevPitch, prevTickX, prevTickY, prevTickZ, prevX, prevY, prevYaw, prevZ, pushSpeedReduction, random, removed, renderDistanceMultiplier, rider, stepHeight, teleporting, ticksAlive, touchingWater, trackedX, trackedY, trackedZ, updateNeeded, vehicle, 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 TypeMethodDescriptionbooleanvoiddropItems(DamageSource damageSource) intintdoublegetX()doublegetY()doublegetZ()booleanbooleanintvoidonActivatorRail(int x, int y, int z, boolean powered) booleanopenInventory(PlayerEntity player) protected voidvoidsetEnabled(boolean enabled) voidsetTransferCooldown(int cooldown) voidtick()protected voidMethods inherited from class net.minecraft.entity.vehicle.StorageMinecartEntity
applySlowdown, canPlayerUseInv, getInvMaxStackAmount, getInvStack, isValidInvStack, markDirty, method_2385, method_2387, method_2390, remove, removeInvStack, setInvStack, takeInvStack, teleportToDimensionMethods inherited from class net.minecraft.entity.vehicle.AbstractMinecartEntity
animateDamage, canClimb, collides, damage, getBlockOffset, getBox, getDamageWobbleSide, getDamageWobbleStrength, getDamageWobbleTicks, getHardCollisionBox, getMountedHeightOffset, getTranslatedName, hasCustomBlock, initDataTracker, isPushable, method_2475, method_2488, method_5339, method_5408, method_5410, method_5411, method_5414, method_5416, method_5418, method_5419, method_5422, method_5423, method_5427, pushAwayFrom, setCustomBlockOffset, setCustomBlockPresent, setDamageWobbleSide, setDamageWobbleStrength, setDamageWobbleTicks, setVelocityClient, snapPositionToRail, snapPositionToRailWithOffsetMethods inherited from class net.minecraft.entity.Entity
addVelocity, afterSpawn, baseTick, burn, canAvoidTraps, canFly, checkBlockCollision, copyFrom, copyPosition, destroy, distanceTo, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropItem, enterNetherPortal, equals, extinguish, fromNbt, getAir, getArmorStacks, getBrightnessAtEyes, getDataTracker, getDefaultNetherPortalCooldown, getEntityId, getEyeHeight, getFlag, getHeadRotation, getHeightOffset, getLastNetherPortalAxis, getLightmapCoordinates, getMaxNetherPortalTime, getParts, getRotation, getSafeFallDistance, getSavedEntityId, getSplashSound, getSwimSound, getTargetingMargin, getUuid, handleAttack, handleStatus, hashCode, hasVehicle, increaseTransforms, isAlive, isAttackable, isFireImmune, isInsideWall, isInvisible, isInvisibleTo, isOnFire, isPartOf, isSneaking, isSprinting, isSubmergedIn, isSwimming, isTouchingWater, method_2469, method_2489, method_2490, method_2494, method_4444, method_4447, method_5379, method_6097, method_6344, method_8364, move, onKilledOther, onLightningStrike, onPlayerCollision, playSound, populateCrashReport, pushOutOfBlocks, refreshPositionAndAngles, saveSelfToNbt, saveToNbt, scheduleVelocityUpdate, setAir, setArmorSlot, setBounds, setEntityId, setFlag, setHeadYaw, setInLava, setInvisible, setOnFireFor, setOnFireFromLava, setRotation, setSneaking, setSprinting, setSwimming, setWorld, shouldRender, shouldRender, shouldSetPositionOnLoad, squaredDistanceTo, squaredDistanceTo, startRiding, tickFire, tickRiding, toListNbt, toListNbt, toString, updateKilledAdvancementCriterion, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateVelocity, updateWaterState, writePlayerDataMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.inventory.Inventory
canPlayerUseInv, getInvMaxStackAmount, getInvStack, isValidInvStack, markDirty, method_2385, method_2387, method_2390, method_5339, removeInvStack, setInvStack, takeInvStack
-
Field Details
-
enabled
private boolean enabled- Mappings:
Namespace Name Mixin selector official aLwc;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 bLwc;b:Iintermediary field_6150Lnet/minecraft/class_1576;field_6150:Inamed transferCooldownLnet/minecraft/entity/vehicle/HopperMinecartEntity;transferCooldown:I
-
-
Constructor Details
-
HopperMinecartEntity
- Mappings:
Namespace Name Mixin selector official <init>Lqm;<init>(Lafm;)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>Lvw;<init>(Lafm;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
-
method_5417
public int method_5417()- Specified by:
method_5417in classAbstractMinecartEntity- Mappings:
Namespace Name Mixin selector official mLvw;m()Iintermediary method_5417Lnet/minecraft/class_965;method_5417()Inamed method_5417Lnet/minecraft/entity/vehicle/AbstractMinecartEntity;method_5417()I
-
method_5421
- Overrides:
method_5421in classAbstractMinecartEntity- Mappings:
Namespace Name Mixin selector official oLvw;o()Laht;intermediary method_5421Lnet/minecraft/class_965;method_5421()Lnet/minecraft/class_197;named method_5421Lnet/minecraft/entity/vehicle/AbstractMinecartEntity;method_5421()Lnet/minecraft/block/Block;
-
getDefaultBlockOffset
public int getDefaultBlockOffset()- Overrides:
getDefaultBlockOffsetin classAbstractMinecartEntity- Mappings:
Namespace Name Mixin selector official sLvw;s()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 aLpn;a()Iintermediary method_2388Lnet/minecraft/class_849;method_2388()Inamed getInvSizeLnet/minecraft/inventory/Inventory;getInvSize()I
-
openInventory
- Overrides:
openInventoryin classStorageMinecartEntity- Mappings:
Namespace Name Mixin selector official cLqm;c(Lxk;)Zintermediary method_6100Lnet/minecraft/class_864;method_6100(Lnet/minecraft/class_988;)Znamed openInventoryLnet/minecraft/entity/Entity;openInventory(Lnet/minecraft/entity/player/PlayerEntity;)Z
-
onActivatorRail
public void onActivatorRail(int x, int y, int z, boolean powered) - Overrides:
onActivatorRailin classAbstractMinecartEntity- Mappings:
Namespace Name Mixin selector official aLvw;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 vLwc;v()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 fLwc;f(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 wLans;w()Lafm;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 xLans;x()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 aDLans;aD()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 aELans;aE()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 hLqm;h()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 aFLwc;aF()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 aLvw;a(Lqa;)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 bLqm;b(Ldg;)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 aLqm;a(Ldg;)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 nLwc;n(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 aGLwc;aG()Zintermediary method_5431Lnet/minecraft/class_1576;method_5431()Znamed isCoolingDownLnet/minecraft/entity/vehicle/HopperMinecartEntity;isCoolingDown()Z
-