public class EntityLogisticsRequester extends EntityLogisticsFrame implements ISpecificRequester, IProvidingInventoryListener
EntityLogisticsFrame.FluidFilter, EntityLogisticsFrame.ItemFilterHandler, EntityLogisticsFrame.Listenernet.minecraft.entity.Entity.IMoveCallbackIProvidingInventoryListener.TileEntityAndFaceantiZfight, FLUID_FILTER_SLOTS, NBT_FLUID_FILTERS, NBT_FLUID_WHITELIST, NBT_INVISIBLE, NBT_ITEM_FILTERS, NBT_ITEM_WHITELIST, NBT_MATCH_DURABILITY, NBT_MATCH_MODID, NBT_MATCH_NBTblocksBuilding, boardingCooldown, DATA_POSE, DATA_SHARED_FLAGS_ID, entityData, fallDistance, firstTick, fluidHeight, fluidOnEyes, forcedLoading, glowing, hasImpulse, horizontalCollision, hurtMarked, inChunk, invulnerableTime, isInsidePortal, level, LOGGER, maxUpStep, moveDist, noCulling, noPhysics, onGround, portalEntrancePos, portalTime, pushthrough, random, removed, stringUUID, stuckSpeedMultiplier, tickCount, uuid, verticalCollision, walkDist, walkDistO, wasEyeInWater, wasTouchingWater, xChunk, xo, xOld, xRot, xRotO, yChunk, yo, yOld, yRot, yRotO, zChunk, zo, zOldNBT_MIN_FLUID, NBT_MIN_ITEMS| Constructor and Description |
|---|
EntityLogisticsRequester(net.minecraft.entity.EntityType<?> entityTypeIn,
net.minecraft.world.World worldIn) |
| Modifier and Type | Method and Description |
|---|---|
int |
amountRequested(net.minecraftforge.fluids.FluidStack stack) |
int |
amountRequested(net.minecraft.item.ItemStack stack) |
boolean |
canFilterStack() |
protected void |
defineSynchedData() |
AE2RequesterIntegration |
getAE2integration() |
int |
getColor()
A color in ARGB format.
|
protected net.minecraft.inventory.container.ContainerType<?> |
getContainerType() |
int |
getMinFluidOrderSize() |
int |
getMinItemOrderSize() |
int |
getPriority() |
net.minecraft.util.ResourceLocation |
getTexture() |
void |
handleGUIButtonPress(java.lang.String tag,
boolean shiftHeld,
net.minecraft.entity.player.ServerPlayerEntity player) |
boolean |
isAE2enabled() |
void |
notify(IProvidingInventoryListener.TileEntityAndFace teAndFace) |
protected void |
onBroken()
Called by onRemovedFromWorld().
|
protected void |
readAdditionalSaveData(net.minecraft.nbt.CompoundNBT tag) |
net.minecraft.nbt.CompoundNBT |
serializeNBT(net.minecraft.nbt.CompoundNBT tag)
Written to the dropped item (under the "EntityTag" subtag) when the semiblock is broken, to persisted entity
data by
Entity#writeAdditional(), and displayed by info mods such as TOP or Waila. |
void |
setMinFluidOrderSize(int minFluid) |
void |
setMinItemOrderSize(int minItems) |
boolean |
supportsBlacklisting() |
void |
tick()
Implement tick logic here.
|
addTooltip, calculateBlockBounds, canPlace, canStay, clearIncomingStack, clearIncomingStack, fromItemStack, getAlpha, getFluidFilter, getIncomingFluid, getIncomingItems, getItemFilterHandler, getSide, informIncomingStack, informIncomingStack, isFluidWhiteList, isItemWhiteList, isMatchDurability, isMatchModId, isMatchNBT, isObstructed, isSemiblockInvisible, onPlaced, onRightClickWithConfigurator, readFromBuf, setFluidFilter, setFluidWhiteList, setItemFilter, setItemWhiteList, setMatchDurability, setMatchModId, setMatchNBT, setSemiblockInvisible, setSide, shouldProvideTo, writeToBufaddAdditionalSaveData, canCoexist, getAddEntityPacket, getBlockBounds, getBlockPos, getBlockState, getBrightness, getCachedTileEntity, getDamageTaken, getDroppedItem, getDrops, getSemiblockId, getTimeSinceHit, getTrackingId, getWorld, hurt, interactAt, isAir, isNoGravity, isPickable, isValid, onAddedToWorld, onRemovedFromWorld, removeSemiblock, setPosabsMoveTo, absMoveTo, acceptsFailure, acceptsSuccess, addPassenger, addTag, animateHurt, awardKillScore, baseTick, blockPosition, broadcastToPlayer, calculateUpVector, calculateViewVector, canAddPassenger, canBeCollidedWith, canChangeDimensions, canCollideWith, canEnterPose, canRide, canSpawnSprintParticle, canTrample, canUpdate, canUpdate, captureDrops, captureDrops, causeFallDamage, changeDimension, changeDimension, checkAndResetForcedChunkAdditionFlag, checkAndResetUpdateChunkPos, checkDespawn, checkFallDamage, checkInsideBlocks, clearFire, closerThan, collideBoundingBox, collideBoundingBoxHeuristically, collideBoundingBoxLegacy, copyPosition, createCommandSourceStack, createHoverEvent, displayFireAnimation, distanceTo, distanceToSqr, distanceToSqr, distanceToSqr, doEnchantDamageEffects, doWaterSplashEffect, ejectPassengers, equals, fillCrashReportCategory, findDimensionEntryPoint, fireImmune, getAirSupply, getAllSlots, getArmorSlots, getBbHeight, getBbWidth, getBlockExplosionResistance, getBlockJumpFactor, getBlockPosBelowThatAffectsMyMovement, getBlockSpeedFactor, getBlockStateOn, getBoundingBox, getBoundingBoxForCulling, getBoundingBoxForPose, getCollisionHorizontalEscapeVector, getCommandSenderWorld, getControllingPassenger, getCustomName, getDeltaMovement, getDimensionChangingDelay, getDimensions, getDirection, getDismountLocationForPassenger, getDisplayName, getEncodeId, getEntityData, getExitPortal, getEyeHeight, getEyeHeight, getEyeHeight, getEyeHeightAccess, getEyePosition, getEyeY, getFireImmuneTicks, getFluidHeight, getFluidJumpThreshold, getForward, getHandSlots, getHorizontalDistanceSqr, getId, getIndirectPassengers, getLeashOffset, getLightProbePosition, getLookAngle, getMaxAirSupply, getMaxFallDistance, getMotionDirection, getMyRidingOffset, getName, getOnPos, getPacketCoordinates, getPassengers, getPassengersRidingOffset, getPermissionLevel, getPersistentData, getPickRadius, getPistonPushReaction, getPortalWaitTime, getPose, getPosition, getRandomX, getRandomY, getRandomZ, getRelativePortalPosition, getRemainingFireTicks, getRootVehicle, getRopeHoldPosition, getRotationVector, getScoreboardName, getSelfAndPassengers, getServer, getSharedFlag, getSoundSource, getStringUUID, getSwimHighSpeedSplashSound, getSwimSound, getSwimSplashSound, getTags, getTeam, getTeamColor, getType, getTypeName, getUpVector, getUUID, getVehicle, getViewScale, getViewVector, getViewXRot, getViewYRot, getX, getX, getY, getY, getYHeadRot, getZ, getZ, handleEntityEvent, handleInsidePortal, handleNetherPortal, hasCustomName, hashCode, hasIndirectPassenger, hasOnePlayerPassenger, hasPassenger, hasPassenger, hasPermissions, ignoreExplosion, interact, is, isAddedToWorld, isAlive, isAlliedTo, isAlliedTo, isAttackable, isColliding, isControlledByLocalInstance, isCrouching, isCustomNameVisible, isDescending, isDiscrete, isEyeInFluid, isFree, isGlowing, isIgnoringBlockTriggers, isInLava, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isInWall, isInWater, isInWaterOrBubble, isInWaterOrRain, isInWaterRainOrBubble, isMovementNoisy, isOnFire, isOnGround, isOnPortalCooldown, isPassenger, isPassengerOfSameVehicle, isPushable, isPushedByFluid, isShiftKeyDown, isSilent, isSpectator, isSprinting, isSteppingCarefully, isSuppressingBounce, isSwimming, isUnderWater, isVehicle, isVisuallyCrawling, isVisuallySwimming, kill, killed, lavaHurt, lerpHeadTo, lerpMotion, lerpTo, limitPistonMovement, load, lookAt, makeFlySound, makeStuckInBlock, markHurt, maybeBackOffFromEdge, mirror, move, moveRelative, moveTo, moveTo, moveTo, moveTo, moveTowardsClosestSpace, newDoubleList, newFloatList, nextStep, onAboveBubbleCol, onInsideBlock, onInsideBubbleColumn, onlyOpCanSetNbt, onPassengerTurned, onSyncedDataUpdated, outOfWorld, pick, playerTouch, playFlySound, playSound, playStepSound, playSwimSound, position, positionRider, processPortalCooldown, push, push, reapplyPosition, refreshDimensions, remove, remove, removeAfterChangingDimensions, removePassenger, removeTag, removeVehicle, repositionEntityAfterLoad, resetPos, restoreFrom, revive, rideableUnderWater, rideTick, rotate, save, saveAsPassenger, saveWithoutId, sendMessage, setAirSupply, setBoundingBox, setCustomName, setCustomNameVisible, setDeltaMovement, setDeltaMovement, setGlowing, setId, setInvisible, setInvulnerable, setItemSlot, setLevel, setLocationFromBoundingbox, setNoGravity, setOnGround, setPacketCoordinates, setPacketCoordinates, setPortalCooldown, setPosAndOldPos, setPose, setPosRaw, setRemainingFireTicks, setRot, setSecondsOnFire, setSharedFlag, setShiftKeyDown, setSilent, setSlot, setSprinting, setSwimming, setUUID, setViewScale, setYBodyRot, setYHeadRot, shouldBlockExplode, shouldInformAdmins, shouldRender, shouldRenderAtSqrDistance, shouldShowName, showVehicleHealth, skipAttackInteraction, spawnAtLocation, spawnAtLocation, spawnAtLocation, spawnAtLocation, spawnSprintParticle, startRiding, startRiding, startSeenByPlayer, stopRiding, stopSeenByPlayer, teleportTo, teleportToWithTicket, thunderHit, toString, turn, unRide, updateFluidHeightAndDoFluidPushing, updateInWaterStateAndDoFluidPushing, updateSwimmingareCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, getCapabilities, getCapability, invalidateCaps, reviveCaps, serializeCapsclone, finalize, getClass, notify, notifyAll, wait, wait, waitbyTrackingId, getDisplayNamepublic EntityLogisticsRequester(net.minecraft.entity.EntityType<?> entityTypeIn,
net.minecraft.world.World worldIn)
protected void defineSynchedData()
defineSynchedData in class EntityLogisticsFramepublic int getColor()
ISemiBlockgetColor in interface ISemiBlockgetColor in class EntityLogisticsFramepublic net.minecraft.util.ResourceLocation getTexture()
getTexture in class EntityLogisticsFramepublic int getPriority()
getPriority in class EntityLogisticsFrameprotected net.minecraft.inventory.container.ContainerType<?> getContainerType()
getContainerType in class EntityLogisticsFramepublic int getMinItemOrderSize()
getMinItemOrderSize in interface ISpecificRequesterpublic void setMinItemOrderSize(int minItems)
setMinItemOrderSize in interface ISpecificRequesterpublic int getMinFluidOrderSize()
getMinFluidOrderSize in interface ISpecificRequesterpublic void setMinFluidOrderSize(int minFluid)
setMinFluidOrderSize in interface ISpecificRequesterprotected void readAdditionalSaveData(net.minecraft.nbt.CompoundNBT tag)
readAdditionalSaveData in class EntityLogisticsFramepublic net.minecraft.nbt.CompoundNBT serializeNBT(net.minecraft.nbt.CompoundNBT tag)
ISemiBlockEntity#writeAdditional(), and displayed by info mods such as TOP or Waila. Use this method
rather than writeAdditional() for fields that either need to be serialized to the dropped item, or
displayed on TOP/Waila.
serializeNBT in interface ISemiBlockserializeNBT in class EntityLogisticsFrametag - NBT tag to write data topublic boolean canFilterStack()
canFilterStack in class EntityLogisticsFramepublic boolean supportsBlacklisting()
supportsBlacklisting in class EntityLogisticsFramepublic void tick()
ISemiBlocksuper.tick() in subclass overrides!tick in interface ISemiBlocktick in class EntityLogisticsFramepublic void notify(IProvidingInventoryListener.TileEntityAndFace teAndFace)
notify in interface IProvidingInventoryListenerprotected void onBroken()
EntitySemiblockBaseonBroken in class EntitySemiblockBasepublic void handleGUIButtonPress(java.lang.String tag,
boolean shiftHeld,
net.minecraft.entity.player.ServerPlayerEntity player)
handleGUIButtonPress in interface IGUIButtonSensitivehandleGUIButtonPress in class EntitySemiblockBasepublic int amountRequested(net.minecraft.item.ItemStack stack)
amountRequested in interface ISpecificRequesterpublic int amountRequested(net.minecraftforge.fluids.FluidStack stack)
amountRequested in interface ISpecificRequesterpublic boolean isAE2enabled()
public AE2RequesterIntegration getAE2integration()