java.lang.Object
net.neoforged.neoforge.attachment.AttachmentHolder
All Implemented Interfaces:
IHaveCustomOverlayIcon, IHaveHoveringInformation, PartialSafeNBT, SpecialBlockEntityItemRequirement, IInteractionChecker, net.createmod.ponder.api.VirtualBlockEntity, net.minecraft.world.inventory.MenuConstructor, net.minecraft.world.MenuProvider, net.neoforged.neoforge.attachment.IAttachmentHolder, net.neoforged.neoforge.client.extensions.IMenuProviderExtension, net.neoforged.neoforge.common.extensions.IBlockEntityExtension

public class FrogportBlockEntity extends PackagePortBlockEntity implements IHaveHoveringInformation
  • Field Details

    • animatedPackage

      public net.minecraft.world.item.ItemStack animatedPackage
    • manualOpenAnimationProgress

      public net.createmod.catnip.animation.LerpedFloat manualOpenAnimationProgress
    • animationProgress

      public net.createmod.catnip.animation.LerpedFloat animationProgress
    • anticipationProgress

      public net.createmod.catnip.animation.LerpedFloat anticipationProgress
    • currentlyDepositing

      public boolean currentlyDepositing
    • goggles

      public boolean goggles
    • sendAnticipate

      public boolean sendAnticipate
    • passiveYaw

      public float passiveYaw
    • computerBehaviour

      public AbstractComputerBehaviour computerBehaviour
  • Constructor Details

    • FrogportBlockEntity

      public FrogportBlockEntity(net.minecraft.world.level.block.entity.BlockEntityType<?> type, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state)
  • Method Details

    • registerCapabilities

      public static void registerCapabilities(net.neoforged.neoforge.capabilities.RegisterCapabilitiesEvent event)
    • addBehaviours

      public void addBehaviours(List<BlockEntityBehaviour> behaviours)
      Overrides:
      addBehaviours in class PackagePortBlockEntity
    • isAnimationInProgress

      public boolean isAnimationInProgress()
    • getRenderBoundingBox

      public net.minecraft.world.phys.AABB getRenderBoundingBox()
      Overrides:
      getRenderBoundingBox in class CachedRenderBBBlockEntity
    • lazyTick

      public void lazyTick()
      Overrides:
      lazyTick in class PackagePortBlockEntity
    • sendAnticipate

      public void sendAnticipate()
    • anticipate

      public void anticipate()
    • tick

      public void tick()
      Overrides:
      tick in class SmartBlockEntity
    • startAnimation

      public void startAnimation(net.minecraft.world.item.ItemStack box, boolean deposit)
    • tryPushingToAdjacentInventories

      protected void tryPushingToAdjacentInventories()
    • onOpenChange

      protected void onOpenChange(boolean open)
      Specified by:
      onOpenChange in class PackagePortBlockEntity
    • tryPullingFromOwnAndAdjacentInventories

      public void tryPullingFromOwnAndAdjacentInventories()
    • tryPullingFrom

      public boolean tryPullingFrom(net.neoforged.neoforge.items.IItemHandler handler)
    • getAdjacentInventory

      protected net.neoforged.neoforge.items.IItemHandler getAdjacentInventory(net.minecraft.core.Direction side)
    • write

      protected void write(net.minecraft.nbt.CompoundTag tag, net.minecraft.core.HolderLookup.Provider registries, boolean clientPacket)
      Description copied from class: SmartBlockEntity
      Hook only these in future subclasses of STE
      Overrides:
      write in class PackagePortBlockEntity
    • read

      protected void read(net.minecraft.nbt.CompoundTag tag, net.minecraft.core.HolderLookup.Provider registries, boolean clientPacket)
      Description copied from class: SmartBlockEntity
      Hook only these in future subclasses of STE
      Overrides:
      read in class PackagePortBlockEntity
    • getYaw

      public float getYaw()
    • addToTooltip

      public boolean addToTooltip(List<net.minecraft.network.chat.Component> tooltip, boolean isPlayerSneaking)
      Description copied from interface: IHaveHoveringInformation
      This method will be called when looking at a BlockEntity that implements this interface
      Specified by:
      addToTooltip in interface IHaveHoveringInformation
      Returns:
      true if the tooltip creation was successful and should be displayed, or false if the overlay should not be displayed
    • onOpenedManually

      protected void onOpenedManually()
      Overrides:
      onOpenedManually in class PackagePortBlockEntity
    • use

      public net.minecraft.world.ItemInteractionResult use(net.minecraft.world.entity.player.Player player)
      Overrides:
      use in class PackagePortBlockEntity
    • invalidate

      public void invalidate()
      Description copied from class: SmartBlockEntity
      Block destroyed or Chunk unloaded. Usually invalidates capabilities
      Overrides:
      invalidate in class PackagePortBlockEntity