Class AbstractLogisticsFrameEntity

java.lang.Object
net.minecraftforge.common.capabilities.CapabilityProvider<net.minecraft.world.entity.Entity>
net.minecraft.world.entity.Entity
me.desht.pneumaticcraft.common.entity.semiblock.AbstractSemiblockEntity
me.desht.pneumaticcraft.common.entity.semiblock.AbstractLogisticsFrameEntity
All Implemented Interfaces:
IDirectionalSemiblock, ISemiBlock, IGUIButtonSensitive, net.minecraft.commands.CommandSource, net.minecraft.world.level.entity.EntityAccess, net.minecraft.world.Nameable, net.minecraftforge.common.capabilities.ICapabilityProvider, net.minecraftforge.common.capabilities.ICapabilityProviderImpl<net.minecraft.world.entity.Entity>, net.minecraftforge.common.capabilities.ICapabilitySerializable<net.minecraft.nbt.CompoundTag>, net.minecraftforge.common.extensions.IForgeEntity, net.minecraftforge.common.util.INBTSerializable<net.minecraft.nbt.CompoundTag>
Direct Known Subclasses:
LogisticsActiveProviderEntity, LogisticsRequesterEntity, LogisticsStorageEntity

public abstract class AbstractLogisticsFrameEntity extends AbstractSemiblockEntity implements IDirectionalSemiblock
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
    class 
    Specialised item handler which caches a list of non-empty filter stacks, for more efficient iteration over them.
    static class 
     

    Nested classes/interfaces inherited from class net.minecraft.world.entity.Entity

    net.minecraft.world.entity.Entity.MoveFunction, net.minecraft.world.entity.Entity.MovementEmission, net.minecraft.world.entity.Entity.RemovalReason

    Nested classes/interfaces inherited from class net.minecraftforge.common.capabilities.CapabilityProvider

    net.minecraftforge.common.capabilities.CapabilityProvider.AsField<B extends net.minecraftforge.common.capabilities.ICapabilityProviderImpl<B>>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final String
     
    static final String
     
    static final String
     
    static final String
     
    static final String
     
    static final String
     
    static final String
     
    static final String
     

    Fields inherited from class net.minecraft.world.entity.Entity

    BASE_TICKS_REQUIRED_TO_FREEZE, blocksBuilding, BOARDING_COOLDOWN, boardingCooldown, BREATHING_DISTANCE_BELOW_EYES, DATA_POSE, DATA_SHARED_FLAGS_ID, DEFAULT_BB_HEIGHT, DEFAULT_BB_WIDTH, DELTA_AFFECTED_BY_BLOCKS_BELOW_0_2, DELTA_AFFECTED_BY_BLOCKS_BELOW_0_5, DELTA_AFFECTED_BY_BLOCKS_BELOW_1_0, ENTITY_COUNTER, entityData, fallDistance, firstTick, FLAG_FALL_FLYING, FLAG_GLOWING, FLAG_ONFIRE, fluidHeight, flyDist, forgeFluidTypeHeight, FREEZE_HURT_FREQUENCY, hasImpulse, horizontalCollision, hurtMarked, ID_TAG, invulnerableTime, isInPowderSnow, isInsidePortal, mainSupportingBlockPos, MAX_ENTITY_TAG_COUNT, minorHorizontalCollision, moveDist, noCulling, noPhysics, PASSENGERS_TAG, portalEntrancePos, portalTime, random, stringUUID, stuckSpeedMultiplier, tickCount, TOTAL_AIR_SUPPLY, uuid, UUID_TAG, verticalCollision, verticalCollisionBelow, walkDist, walkDistO, wasEyeInWater, wasInPowderSnow, wasOnFire, wasTouchingWater, xo, xOld, xRotO, yo, yOld, yRotO, zo, zOld

    Fields inherited from interface net.minecraft.commands.CommandSource

    NULL
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addTooltip(Consumer<net.minecraft.network.chat.Component> curInfo, net.minecraft.world.entity.player.Player player, net.minecraft.nbt.CompoundTag tag, boolean extended)
    Add tooltip information for this semiblock.
    protected net.minecraft.world.phys.AABB
    Get the bounding box for this entity, which by default is the bounding box of the block we're on.
    boolean
     
    boolean
    canPlace(net.minecraft.core.Direction facing)
    Check if this semiblock can be placed here.
    boolean
    Check if this semiblock can remain here.
    void
    clearIncomingStack(net.minecraft.world.item.ItemStack stack)
     
    void
    clearIncomingStack(net.minecraftforge.fluids.FluidStack stack)
     
    protected void
     
    fromItemStack(net.minecraft.world.level.Level world, net.minecraft.world.entity.player.Player player, net.minecraft.world.item.ItemStack stack)
    Get a logistics entity from the given item stack.
    int
     
    abstract int
    A color in ARGB format.
    protected abstract net.minecraft.world.inventory.MenuType<?>
     
    net.minecraftforge.fluids.FluidStack
    getFluidFilter(int filterIndex)
     
    int
    getIncomingFluid(net.minecraft.world.level.material.Fluid fluid)
     
    int
    getIncomingItems(net.minecraft.world.item.ItemStack stack)
     
     
    abstract int
     
    net.minecraft.core.Direction
     
    abstract net.minecraft.resources.ResourceLocation
     
    void
    informIncomingStack(net.minecraft.world.item.ItemStack stack)
     
    void
    informIncomingStack(net.minecraftforge.fluids.FluidStack stack)
     
    boolean
     
    boolean
     
    boolean
     
    boolean
     
    boolean
     
    boolean
    isObstructed(net.minecraft.world.level.pathfinder.PathComputationType pathType)
     
    boolean
    Not to be confused with Entity.isInvisible()
    void
    onPlaced(net.minecraft.world.entity.player.Player player, net.minecraft.world.item.ItemStack stack, net.minecraft.core.Direction facing)
    Called immediately after the semiblock entity has been added to the world.
    boolean
    onRightClickWithConfigurator(net.minecraft.world.entity.player.Player player, net.minecraft.core.Direction side)
    Called when a semiblock is right-clicked with a Logistics Configurator
    protected void
    readAdditionalSaveData(net.minecraft.nbt.CompoundTag tag)
     
    void
    readFromBuf(net.minecraft.network.FriendlyByteBuf payload)
    Read this semiblock from network buffer for network sync purposes.
    net.minecraft.nbt.CompoundTag
    serializeNBT(net.minecraft.nbt.CompoundTag 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
    setFluidFilter(int filterIndex, net.minecraftforge.fluids.FluidStack stack)
     
    void
    setFluidWhiteList(boolean whiteList)
     
    void
    setItemFilter(int slot, net.minecraft.world.item.ItemStack stack)
     
    void
    setItemWhiteList(boolean whiteList)
     
    void
    setMatchDurability(boolean matchDurability)
     
    void
    setMatchModId(boolean matchModId)
     
    void
    setMatchNBT(boolean matchNBT)
     
    void
    setSemiblockInvisible(boolean invisible)
     
    void
    setSide(net.minecraft.core.Direction facing)
     
    boolean
    shouldProvideTo(int level)
     
    boolean
     
    void
    Implement tick logic here.
    void
    writeToBuf(net.minecraft.network.FriendlyByteBuf payload)
    Write this semiblock to network buffer for network sync purposes.

    Methods inherited from class net.minecraft.world.entity.Entity

    absMoveTo, absMoveTo, acceptsFailure, acceptsSuccess, addDeltaMovement, addPassenger, addTag, animateHurt, awardKillScore, baseTick, blockPosition, broadcastToPlayer, calculateUpVector, calculateViewVector, canAddPassenger, canBeCollidedWith, canBeHitByProjectile, canChangeDimensions, canCollideWith, canEnterPose, canFreeze, canRide, canSpawnSprintParticle, canSprint, canTrample, canUpdate, canUpdate, captureDrops, captureDrops, causeFallDamage, changeDimension, changeDimension, checkBelowWorld, checkDespawn, checkFallDamage, checkInsideBlocks, checkSlowFallDistance, checkSupportingBlock, chunkPosition, clearFire, closerThan, closerThan, collideBoundingBox, copyPosition, couldAcceptPassenger, createCommandSourceStack, createHoverEvent, damageSources, dampensVibrations, discard, dismountsUnderwater, dismountTo, displayFireAnimation, distanceTo, distanceToSqr, distanceToSqr, distanceToSqr, doEnchantDamageEffects, doWaterSplashEffect, ejectPassengers, equals, extinguishFire, fillCrashReportCategory, findDimensionEntryPoint, fireImmune, fixupDimensions, gameEvent, gameEvent, getAirSupply, getAllSlots, getArmorSlots, getBbHeight, getBbWidth, getBlockExplosionResistance, getBlockJumpFactor, getBlockPosBelowThatAffectsMyMovement, getBlockSpeedFactor, getBlockStateOn, getBlockStateOnLegacy, getBlockX, getBlockY, getBlockZ, getBoundingBox, getBoundingBoxForCulling, getBoundingBoxForPose, getCollisionHorizontalEscapeVector, getCommandSenderWorld, getControlledVehicle, getControllingPassenger, getCustomName, getDeltaMovement, getDimensionChangingDelay, getDimensions, getDimensionsForge, getDirection, getDismountLocationForPassenger, getDisplayName, getEncodeId, getEntityData, getExitPortal, getEyeHeight, getEyeHeight, getEyeHeight, getEyeHeightAccess, getEyeInFluidType, getEyePosition, getEyePosition, getEyeY, getFeetBlockState, getFireImmuneTicks, getFirstPassenger, getFluidHeight, getFluidJumpThreshold, getFluidTypeHeight, getForward, getHandHoldingItemAngle, getHandSlots, getId, getIndirectPassengers, getLeashOffset, getLeashOffset, getLightLevelDependentMagicValue, getLightProbePosition, getLookAngle, getMaxAirSupply, getMaxFallDistance, getMaxHeightFluidType, getMotionDirection, getMovementEmission, getMyRidingOffset, getName, getNameTagOffsetY, getOnPos, getOnPos, getOnPosLegacy, getPassengers, getPassengersAndSelf, getPassengersRidingOffset, getPercentFrozen, getPermissionLevel, getPersistentData, getPickRadius, getPickResult, getPistonPushReaction, getPortalCooldown, getPortalWaitTime, getPose, getPosition, getPositionCodec, getPrimaryStepSoundBlockPos, getRandomX, getRandomY, getRandomZ, getRelativePortalPosition, getRemainingFireTicks, getRemovalReason, getRootVehicle, getRopeHoldPosition, getRotationVector, getScoreboardName, getSelfAndPassengers, getServer, getSharedFlag, getSlot, getSoundSource, getStringUUID, getSwimHighSpeedSplashSound, getSwimSound, getSwimSplashSound, getTags, getTeam, getTeamColor, getTicksFrozen, getTicksRequiredToFreeze, getType, getTypeName, getUpVector, getUUID, getVehicle, getViewScale, getViewVector, getViewXRot, getViewYRot, getVisualRotationYInDegrees, getX, getX, getXRot, getY, getY, getYHeadRot, getYRot, getZ, getZ, handleDamageEvent, handleEntityEvent, handleInsidePortal, handleNetherPortal, hasControllingPassenger, hasCustomName, hasExactlyOnePlayerPassenger, hasGlowingTag, hashCode, hasIndirectPassenger, hasPassenger, hasPassenger, hasPermissions, hasPose, ignoreExplosion, interact, is, isAddedToWorld, isAlive, isAlliedTo, isAlliedTo, isAlwaysTicking, isAttackable, isColliding, isControlledByLocalInstance, isCrouching, isCurrentlyGlowing, isCustomNameVisible, isDescending, isDiscrete, isEffectiveAi, isEyeInFluid, isFlapping, isFree, isFreezing, isFullyFrozen, isHorizontalCollisionMinor, isIgnoringBlockTriggers, isInFluidType, isInFluidType, isInLava, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isInWall, isInWater, isInWaterOrBubble, isInWaterOrRain, isInWaterRainOrBubble, isOnFire, isOnPortalCooldown, isOnRails, isPassenger, isPassengerOfSameVehicle, isPushable, isPushedByFluid, isRemoved, isShiftKeyDown, isSilent, isSpectator, isSprinting, isSteppingCarefully, isSupportedBy, isSuppressingBounce, isSwimming, isUnderWater, isVehicle, isVisuallyCrawling, isVisuallySwimming, kill, killedEntity, lavaHurt, lerpHeadTo, lerpMotion, lerpTo, level, limitPistonMovement, load, lookAt, makeBoundingBox, makeStuckInBlock, markHurt, maxUpStep, maybeBackOffFromEdge, mayInteract, mirror, move, moveRelative, moveTo, moveTo, moveTo, moveTo, moveTowardsClosestSpace, newDoubleList, newFloatList, nextStep, onAboveBubbleCol, onBelowWorld, onClientRemoval, onFlap, onGround, onInsideBlock, onInsideBubbleColumn, onlyOpCanSetNbt, onPassengerTurned, onSyncedDataUpdated, onSyncedDataUpdated, pick, playCombinationStepSounds, playEntityOnFireExtinguishedSound, playerTouch, playMuffledStepSound, playSound, playSound, playStepSound, playSwimSound, position, positionRider, positionRider, processFlappingMovement, processPortalCooldown, push, push, reapplyPosition, recreateFromPacket, refreshDimensions, remove, removeAfterChangingDimensions, removePassenger, removeTag, removeVehicle, repositionEntityAfterLoad, resetFallDistance, restoreFrom, revive, rideTick, rotate, save, saveAsPassenger, saveWithoutId, sendSystemMessage, setAirSupply, setBoundingBox, setCustomName, setCustomNameVisible, setDeltaMovement, setDeltaMovement, setFluidTypeHeight, setGlowingTag, setId, setInvisible, setInvulnerable, setIsInPowderSnow, setItemSlot, setLevel, setLevelCallback, setMaxUpStep, setNoGravity, setOldPosAndRot, setOnGround, setOnGroundWithKnownMovement, setPortalCooldown, setPortalCooldown, setPos, setPose, setPosRaw, setRemainingFireTicks, setRemoved, setRot, setSecondsOnFire, setSharedFlag, setSharedFlagOnFire, setShiftKeyDown, setSilent, setSprinting, setSwimming, setTicksFrozen, setUUID, setViewScale, setXRot, setYBodyRot, setYHeadRot, setYRot, shouldBeSaved, shouldBlockExplode, shouldInformAdmins, shouldRender, shouldRenderAtSqrDistance, shouldShowName, showVehicleHealth, skipAttackInteraction, spawnAtLocation, spawnAtLocation, spawnAtLocation, spawnAtLocation, spawnSprintParticle, startRiding, startRiding, startSeenByPlayer, stopRiding, stopSeenByPlayer, syncPacketPositionCodec, teleportRelative, teleportTo, teleportTo, teleportToWithTicket, thunderHit, toString, touchingUnloadedChunk, trackingPosition, tryCheckInsideBlocks, turn, unRide, unsetRemoved, updateDynamicGameEventListener, updateFluidHeightAndDoFluidPushing, updateFluidHeightAndDoFluidPushing, updateFluidHeightAndDoFluidPushing, updateInWaterStateAndDoFluidPushing, updateSwimming, waterSwimSound

    Methods inherited from class net.minecraftforge.common.capabilities.CapabilityProvider

    areCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, gatherCapabilities, getCapabilities, getCapability, invalidateCaps, reviveCaps, serializeCaps

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface net.minecraft.commands.CommandSource

    alwaysAccepts

    Methods inherited from interface net.minecraftforge.common.capabilities.ICapabilityProvider

    getCapability, getCapability

    Methods inherited from interface net.minecraftforge.common.extensions.IForgeEntity

    canBeRiddenUnderFluidType, canFluidExtinguish, canHydrateInFluidType, canRiderInteract, canStartSwimming, canSwimInFluidType, deserializeNBT, getClassification, getEyeHeightForge, getFluidFallDistanceModifier, getFluidMotionScale, getParts, getPickedResult, getSoundFromFluidType, getStepHeight, hasCustomOutlineRendering, isEyeInFluidType, isInFluidType, isInFluidType, isInFluidType, isMultipartEntity, isPushedByFluid, serializeNBT, shouldRiderSit, shouldUpdateFluidWhileBoating
  • Field Details

  • Method Details

    • fromItemStack

      public static AbstractLogisticsFrameEntity fromItemStack(net.minecraft.world.level.Level world, @Nullable net.minecraft.world.entity.player.Player player, @Nonnull net.minecraft.world.item.ItemStack stack)
      Get a logistics entity from the given item stack.
      Parameters:
      world - the player
      player - the player (may be null; this could be used for tooltip purposes)
      stack - the item stack
      Returns:
      a logistics entity
    • defineSynchedData

      protected void defineSynchedData()
      Overrides:
      defineSynchedData in class AbstractSemiblockEntity
    • canPlace

      public boolean canPlace(net.minecraft.core.Direction facing)
      Description copied from interface: ISemiBlock
      Check if this semiblock can be placed here.
      Specified by:
      canPlace in interface ISemiBlock
      Parameters:
      facing - the side of the block against which it is placed
      Returns:
      true if the semiblock is placeable here, false otherwise
    • canStay

      public boolean canStay()
      Description copied from class: AbstractSemiblockEntity
      Check if this semiblock can remain here.
      Overrides:
      canStay in class AbstractSemiblockEntity
      Returns:
      true if the semiblock can stay, false if it should be dropped
    • calculateBlockBounds

      protected net.minecraft.world.phys.AABB calculateBlockBounds()
      Description copied from class: AbstractSemiblockEntity
      Get the bounding box for this entity, which by default is the bounding box of the block we're on. This should be in a 0->1 coordinate space; it will be offset by the block's blockpos to get the actual entity bounding box as returned by Entity.getBoundingBox().
      Overrides:
      calculateBlockBounds in class AbstractSemiblockEntity
      Returns:
      a bounding box
    • getColor

      public abstract int getColor()
      Description copied from interface: ISemiBlock
      A color in ARGB format. Used for various things: GUI/item/render tinting, as well as TOP colour coding.
      Specified by:
      getColor in interface ISemiBlock
      Returns:
      a color for this semiblock type
    • getTexture

      public abstract net.minecraft.resources.ResourceLocation getTexture()
    • getPriority

      public abstract int getPriority()
    • getContainerType

      protected abstract net.minecraft.world.inventory.MenuType<?> getContainerType()
    • shouldProvideTo

      public boolean shouldProvideTo(int level)
    • isSemiblockInvisible

      public boolean isSemiblockInvisible()
      Not to be confused with Entity.isInvisible()
      Returns:
      true if the semiblock should fade out when not holding a logistics item
    • setSemiblockInvisible

      public void setSemiblockInvisible(boolean invisible)
    • getSide

      public net.minecraft.core.Direction getSide()
      Specified by:
      getSide in interface IDirectionalSemiblock
    • setSide

      public void setSide(net.minecraft.core.Direction facing)
      Specified by:
      setSide in interface IDirectionalSemiblock
    • getAlpha

      public int getAlpha()
    • isItemWhiteList

      public boolean isItemWhiteList()
    • setItemWhiteList

      public void setItemWhiteList(boolean whiteList)
    • isFluidWhiteList

      public boolean isFluidWhiteList()
    • setFluidWhiteList

      public void setFluidWhiteList(boolean whiteList)
    • isMatchNBT

      public boolean isMatchNBT()
    • setMatchNBT

      public void setMatchNBT(boolean matchNBT)
    • isMatchDurability

      public boolean isMatchDurability()
    • setMatchDurability

      public void setMatchDurability(boolean matchDurability)
    • isMatchModId

      public boolean isMatchModId()
    • setMatchModId

      public void setMatchModId(boolean matchModId)
    • tick

      public void tick()
      Description copied from interface: ISemiBlock
      Implement tick logic here. Always be sure to call super.tick() in subclass overrides!
      Specified by:
      tick in interface ISemiBlock
      Overrides:
      tick in class AbstractSemiblockEntity
    • informIncomingStack

      public void informIncomingStack(net.minecraft.world.item.ItemStack stack)
    • clearIncomingStack

      public void clearIncomingStack(net.minecraft.world.item.ItemStack stack)
    • informIncomingStack

      public void informIncomingStack(net.minecraftforge.fluids.FluidStack stack)
    • clearIncomingStack

      public void clearIncomingStack(net.minecraftforge.fluids.FluidStack stack)
    • getIncomingFluid

      public int getIncomingFluid(net.minecraft.world.level.material.Fluid fluid)
    • getIncomingItems

      public int getIncomingItems(net.minecraft.world.item.ItemStack stack)
    • setItemFilter

      public void setItemFilter(int slot, net.minecraft.world.item.ItemStack stack)
    • setFluidFilter

      public void setFluidFilter(int filterIndex, net.minecraftforge.fluids.FluidStack stack)
    • getFluidFilter

      public net.minecraftforge.fluids.FluidStack getFluidFilter(int filterIndex)
    • getItemFilterHandler

      public AbstractLogisticsFrameEntity.ItemFilterHandler getItemFilterHandler()
    • readAdditionalSaveData

      protected void readAdditionalSaveData(net.minecraft.nbt.CompoundTag tag)
      Overrides:
      readAdditionalSaveData in class AbstractSemiblockEntity
    • serializeNBT

      public net.minecraft.nbt.CompoundTag serializeNBT(net.minecraft.nbt.CompoundTag tag)
      Description copied from interface: ISemiBlock
      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. Use this method rather than writeAdditional() for fields that either need to be serialized to the dropped item, or displayed on TOP/Waila.

      Specified by:
      serializeNBT in interface ISemiBlock
      Overrides:
      serializeNBT in class AbstractSemiblockEntity
      Parameters:
      tag - NBT tag to write data to
    • onPlaced

      public void onPlaced(net.minecraft.world.entity.player.Player player, net.minecraft.world.item.ItemStack stack, net.minecraft.core.Direction facing)
      Description copied from interface: ISemiBlock
      Called immediately after the semiblock entity has been added to the world.
      Specified by:
      onPlaced in interface ISemiBlock
      Parameters:
      player - player who is placing the semiblock
      stack - itemstack used to create the entity
      facing - the side of the block which was clicked to place the entity
    • canFilterStack

      public boolean canFilterStack()
    • addTooltip

      public void addTooltip(Consumer<net.minecraft.network.chat.Component> curInfo, net.minecraft.world.entity.player.Player player, net.minecraft.nbt.CompoundTag tag, boolean extended)
      Description copied from interface: ISemiBlock
      Add tooltip information for this semiblock. This info is used by info mods such as Waila or TOP.
      Specified by:
      addTooltip in interface ISemiBlock
      Parameters:
      curInfo - the component consumer
      player - the player looking at the entity or item
      tag - NBT data as saved by ISemiBlock.serializeNBT(CompoundTag)
      extended - true if extended data should be shown
    • onRightClickWithConfigurator

      public boolean onRightClickWithConfigurator(net.minecraft.world.entity.player.Player player, net.minecraft.core.Direction side)
      Description copied from interface: ISemiBlock
      Called when a semiblock is right-clicked with a Logistics Configurator
      Specified by:
      onRightClickWithConfigurator in interface ISemiBlock
      Parameters:
      player - the player
      side - the side of the block being clicked
      Returns:
      true if something was done, false if the semiblock doesn't care about being clicked
    • supportsBlacklisting

      public boolean supportsBlacklisting()
    • writeToBuf

      public void writeToBuf(net.minecraft.network.FriendlyByteBuf payload)
      Description copied from interface: ISemiBlock
      Write this semiblock to network buffer for network sync purposes.
      Specified by:
      writeToBuf in interface ISemiBlock
      Overrides:
      writeToBuf in class AbstractSemiblockEntity
      Parameters:
      payload - the buffer
    • readFromBuf

      public void readFromBuf(net.minecraft.network.FriendlyByteBuf payload)
      Description copied from interface: ISemiBlock
      Read this semiblock from network buffer for network sync purposes.
      Specified by:
      readFromBuf in interface ISemiBlock
      Overrides:
      readFromBuf in class AbstractSemiblockEntity
      Parameters:
      payload - the buffer
    • isObstructed

      public boolean isObstructed(net.minecraft.world.level.pathfinder.PathComputationType pathType)