public class EntityMinecartHopper extends EntityMinecartContainer implements IHopper
EntityMinecart.Type
dropContentsWhenDead
addedToChunk, cachedUniqueIdString, chunkCoordX, chunkCoordY, chunkCoordZ, collided, collidedHorizontally, collidedVertically, dataManager, dimension, distanceWalkedModified, distanceWalkedOnStepModified, entityCollisionReduction, entityUniqueID, eyesInWater, fallDistance, firstUpdate, FLAGS, forceSpawn, glowing, height, hurtResistantTime, ignoreFrustumCheck, inPortal, inWater, isAirBorne, isImmuneToFire, isInWeb, lastPortalPos, lastPortalVec, lastTickPosX, lastTickPosY, lastTickPosZ, LOGGER, motionX, motionY, motionZ, noClip, onGround, portalCounter, posX, posY, posZ, prevDistanceWalkedModified, preventEntitySpawning, prevPosX, prevPosY, prevPosZ, prevRotationPitch, prevRotationYaw, rand, removed, rideCooldown, rotationPitch, rotationYaw, serverPosX, serverPosY, serverPosZ, stepHeight, submergedHeight, teleportDirection, ticksExisted, timeUntilPortal, velocityChanged, width, world
BLOCK_ABOVE_SHAPE, COLLECTION_AREA_SHAPE, INSIDE_BOWL_SHAPE
COLLISIONS, DEFAULT_AIR_DRAG, DEFAULT_MAX_SPEED_AIR_LATERAL, DEFAULT_MAX_SPEED_AIR_VERTICAL
Constructor and Description |
---|
EntityMinecartHopper(World worldIn) |
EntityMinecartHopper(World worldIn,
double x,
double y,
double z) |
Modifier and Type | Method and Description |
---|---|
boolean |
canTransfer() |
boolean |
captureDroppedItems() |
Container |
createContainer(InventoryPlayer playerInventory,
EntityPlayer playerIn) |
boolean |
getBlocked() |
IBlockState |
getDefaultDisplayTile() |
int |
getDefaultDisplayTileOffset() |
java.lang.String |
getGuiID() |
EntityMinecart.Type |
getMinecartType() |
int |
getSizeInventory() |
World |
getWorld() |
double |
getXPos() |
double |
getYPos() |
double |
getZPos() |
void |
killMinecart(DamageSource source) |
void |
onActivatorRailPass(int x,
int y,
int z,
boolean receivingPower) |
boolean |
processInitialInteract(EntityPlayer player,
EnumHand hand) |
protected void |
readAdditional(NBTTagCompound compound) |
void |
setBlocked(boolean p_96110_1_) |
void |
setTransferTicker(int p_98042_1_) |
void |
tick() |
protected void |
writeAdditional(NBTTagCompound compound) |
addLoot, applyDrag, changeDimension, clear, closeInventory, decrStackSize, getCapability, getField, getFieldCount, getInventoryStackLimit, getLockCode, getLootTable, getStackInSlot, isEmpty, isItemValidForSlot, isLocked, isUsableByPlayer, markDirty, openInventory, remove, remove, removeStackFromSlot, replaceItemInInventory, setDropItemsWhenDead, setField, setInventorySlotContents, setLockCode, setLootTable
applyEntityCollision, attackEntityFrom, canBeCollidedWith, canBePushed, canTriggerWalking, canUseRail, create, getAdjustedHorizontalFacing, getCollisionBox, getCurrentCartSpeedCapOnRail, getDamage, getDisplayTile, getDisplayTileOffset, getDragAir, getMaximumSpeed, getMaxSpeed, getMaxSpeedAirLateral, getMaxSpeedAirVertical, getMountedYOffset, getPos, getPosOffset, getRenderBoundingBox, getRollingAmplitude, getRollingDirection, hasDisplayTile, moveAlongTrack, moveDerailedMinecart, performHurtAnimation, registerData, setCanUseRail, setCurrentCartSpeedCapOnRail, setDamage, setDisplayTile, setDisplayTileOffset, setDragAir, setHasDisplayTile, setMaxSpeedAirLateral, setMaxSpeedAirVertical, setPosition, setPositionAndRotationDirect, setRollingAmplitude, setRollingDirection, setVelocity
addPassenger, addTag, addTrackingPlayer, addVelocity, allowLogging, applyEnchantments, applyOrientationToEntity, applyPlayerInteraction, areEyesInFluid, awardKillScore, baseTick, canBeAttackedWithItem, canBeRidden, canBeRiddenInWater, canExplosionDestroyBlock, canFitPassenger, canPassengerSteer, canRenderOnFire, canSwim, canTrample, canUpdate, canUpdate, captureDrops, captureDrops, copyDataFromOld, copyLocationAndAnglesFrom, createRunningParticles, dealFireDamage, decrementTimeUntilPortal, determineNextStepDistance, doBlockCollisions, doesEntityNotTriggerPressurePlate, doWaterSplashEffect, entityDropItem, entityDropItem, entityDropItem, entityDropItem, equals, extinguish, fall, fillCrashReport, func_212321_a, getAir, getAlwaysRenderNameTagForRender, getArmorInventoryList, getBoundingBox, getBrightness, getBrightnessForRender, getCachedUniqueIdString, getCollisionBorderSize, getCollisionBoundingBox, getCommandSource, getControllingPassenger, getCustomName, getDataManager, getDisplayName, getDistance, getDistance, getDistanceSq, getDistanceSq, getDistanceSq, getDistanceSq, getDistanceSqToCenter, getEntityData, getEntityId, getEntityString, getEntityWorld, getEquipmentAndArmor, getExplosionResistance, getEyeHeight, getEyePosition, getFireImmuneTicks, getFlag, getForward, getHeldEquipment, getHighspeedSplashSound, getHorizontalFacing, getHoverEvent, getLastPortalVec, getLook, getLookVec, getLowestRidingEntity, getMaxAir, getMaxFallHeight, getMaxInPortalTime, getMirroredYaw, getName, getParts, getPassengers, getPermissionLevel, getPitch, getPitchYaw, getPortalCooldown, getPosition, getPositionVector, getPushReaction, getRecursivePassengers, getRenderDistanceWeight, getRidingEntity, getRotatedYaw, getRotationYawHead, getScoreboardName, getServer, getSoundCategory, getSplashSound, getSubmergedHeight, getSwimSound, getTags, getTeam, getTeleportDirection, getType, getUniqueID, getVectorForRotation, getYaw, getYOffset, handleFluidAcceleration, handleStatusUpdate, handleWaterMovement, hasCustomName, hashCode, hasNoGravity, hasPermissionLevel, hitByEntity, ignoreItemEntityData, isAddedToWorld, isAlive, isBeingRidden, isBurning, isCustomNameVisible, isEntityEqual, isEntityInsideOpaqueBlock, isGlowing, isImmuneToExplosions, isImmuneToFire, isInLava, isInRangeToRender3d, isInRangeToRenderDist, isInvisible, isInvisibleToPlayer, isInvulnerable, isInvulnerableTo, isInWater, isInWaterOrBubbleColumn, isInWaterRainOrBubbleColumn, isLiving, isNonBoss, isOffsetPositionInLiquid, isOnePlayerRiding, isOnSameTeam, isOnScoreboardTeam, isOutsideBorder, isPassenger, isPassenger, isPassenger, isPushedByWater, isRidingOrBeingRiddenBy, isRidingSameEntity, isSilent, isSneaking, isSpectatedByPlayer, isSprinting, isSwimming, isWet, lookAt, makeFlySound, markVelocityChanged, move, moveRelative, moveToBlockPosAndAngles, newDoubleNBTList, newFloatNBTList, notifyDataManagerChange, onAddedToWorld, onCollideWithPlayer, onEnterBubbleColumn, onEnterBubbleColumnWithAirAbove, onInsideBlock, onKillCommand, onKillEntity, onRemovedFromWorld, onStruckByLightning, outOfWorld, playFlySound, playSound, playStepSound, playSwimSound, preparePlayerToSpawn, pushOutOfBlocks, rayTrace, read, removePassenger, removePassengers, removeTag, removeTrackingPlayer, resetPositionToBB, revive, rotateTowards, sendMessage, setAir, setBoundingBox, setCustomName, setCustomNameVisible, setEntityId, setFire, setFlag, setGlowing, setHeadRotation, setInvisible, setInvulnerable, setInWeb, setItemStackToSlot, setLocationAndAngles, setNoGravity, setOnFireFromLava, setOutsideBorder, setPortal, setPositionAndRotation, setPositionAndUpdate, setPositionNonDirty, setRenderDistanceWeight, setRenderYawOffset, setRotation, setRotationYawHead, setSilent, setSize, setSneaking, setSprinting, setSwimming, setUniqueId, setWorld, shouldReceiveErrors, shouldReceiveFeedback, shouldSetPosAfterLoading, spawnRunningParticles, startRiding, startRiding, stopRiding, toString, updateFallState, updatePassenger, updateRidden, updateSwimming, writeUnlessPassenger, writeUnlessRemoved, writeWithoutTypeId
areCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, getCapabilities, invalidateCaps, reviveCaps, serializeCaps
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getCollectionArea
clear, closeInventory, decrStackSize, getField, getFieldCount, getHeight, getInventoryStackLimit, getStackInSlot, getWidth, isEmpty, isItemValidForSlot, isUsableByPlayer, markDirty, openInventory, removeStackFromSlot, setField, setInventorySlotContents
getCustomName, getDisplayName, getName, hasCustomName
canBeRidden, getCartItem, getCollisionHandler, getComparatorLevel, getCurrentRailPosition, getMaxCartSpeedOnRail, getMinecart, getSlopeAdjustment, isPoweredCart, moveMinecartOnRail, shouldDoRailFunctions
canBeRiddenInWater, canRiderInteract, deserializeNBT, getEntity, getPickedResult, isCreatureType, serializeNBT, shouldRenderInPass, shouldRiderSit
getCapability
public EntityMinecartHopper(World worldIn)
public EntityMinecartHopper(World worldIn, double x, double y, double z)
public EntityMinecart.Type getMinecartType()
getMinecartType
in class EntityMinecart
public IBlockState getDefaultDisplayTile()
getDefaultDisplayTile
in class EntityMinecart
public int getDefaultDisplayTileOffset()
getDefaultDisplayTileOffset
in class EntityMinecart
public int getSizeInventory()
getSizeInventory
in interface IInventory
public boolean processInitialInteract(EntityPlayer player, EnumHand hand)
processInitialInteract
in class EntityMinecartContainer
public void onActivatorRailPass(int x, int y, int z, boolean receivingPower)
onActivatorRailPass
in class EntityMinecart
public boolean getBlocked()
public void setBlocked(boolean p_96110_1_)
public void tick()
tick
in class EntityMinecart
public boolean captureDroppedItems()
public void killMinecart(DamageSource source)
killMinecart
in class EntityMinecartContainer
protected void writeAdditional(NBTTagCompound compound)
writeAdditional
in class EntityMinecartContainer
protected void readAdditional(NBTTagCompound compound)
readAdditional
in class EntityMinecartContainer
public void setTransferTicker(int p_98042_1_)
public boolean canTransfer()
public java.lang.String getGuiID()
getGuiID
in interface IInteractionObject
public Container createContainer(InventoryPlayer playerInventory, EntityPlayer playerIn)
createContainer
in interface IInteractionObject