Class SchematicannonTileEntity

java.lang.Object
net.minecraftforge.common.capabilities.CapabilityProvider<net.minecraft.world.level.block.entity.BlockEntity>
net.minecraft.world.level.block.entity.BlockEntity
All Implemented Interfaces:
com.jozufozu.flywheel.api.FlywheelRendered, IInteractionChecker, IPartialSafeNBT, net.minecraft.world.inventory.MenuConstructor, net.minecraft.world.MenuProvider, net.minecraftforge.common.capabilities.ICapabilityProvider, net.minecraftforge.common.capabilities.ICapabilityProviderImpl<net.minecraft.world.level.block.entity.BlockEntity>, net.minecraftforge.common.capabilities.ICapabilitySerializable<net.minecraft.nbt.CompoundTag>, net.minecraftforge.common.extensions.IForgeBlockEntity, net.minecraftforge.common.util.INBTSerializable<net.minecraft.nbt.CompoundTag>

public class SchematicannonTileEntity extends SmartTileEntity implements net.minecraft.world.MenuProvider, com.jozufozu.flywheel.api.FlywheelRendered
  • Field Details

    • NEIGHBOUR_CHECKING

      public static final int NEIGHBOUR_CHECKING
      See Also:
    • MAX_ANCHOR_DISTANCE

      public static final int MAX_ANCHOR_DISTANCE
      See Also:
    • inventory

      public SchematicannonInventory inventory
    • sendUpdate

      public boolean sendUpdate
    • dontUpdateChecklist

      public boolean dontUpdateChecklist
    • neighbourCheckCooldown

      public int neighbourCheckCooldown
    • printer

      public SchematicPrinter printer
    • missingItem

      public net.minecraft.world.item.ItemStack missingItem
    • positionNotLoaded

      public boolean positionNotLoaded
    • hasCreativeCrate

      public boolean hasCreativeCrate
    • previousTarget

      public net.minecraft.core.BlockPos previousTarget
    • attachedInventories

      public LinkedHashSet<net.minecraftforge.common.util.LazyOptional<net.minecraftforge.items.IItemHandler>> attachedInventories
    • flyingBlocks

      public List<LaunchedItem> flyingBlocks
    • checklist

      public MaterialChecklist checklist
    • fuelLevel

      public float fuelLevel
    • bookPrintingProgress

      public float bookPrintingProgress
    • schematicProgress

      public float schematicProgress
    • statusMsg

      public String statusMsg
    • state

    • blocksPlaced

      public int blocksPlaced
    • blocksToPlace

      public int blocksToPlace
    • replaceMode

      public int replaceMode
    • skipMissing

      public boolean skipMissing
    • replaceTileEntities

      public boolean replaceTileEntities
    • firstRenderTick

      public boolean firstRenderTick
    • defaultYaw

      public float defaultYaw
  • Constructor Details

    • SchematicannonTileEntity

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

    • findInventories

      public void findInventories()
    • read

      protected void read(net.minecraft.nbt.CompoundTag compound, boolean clientPacket)
      Description copied from class: SmartTileEntity
      Hook only these in future subclasses of STE
      Overrides:
      read in class SmartTileEntity
    • readFlyingBlocks

      protected void readFlyingBlocks(net.minecraft.nbt.CompoundTag compound)
    • write

      public void write(net.minecraft.nbt.CompoundTag compound, boolean clientPacket)
      Description copied from class: SmartTileEntity
      Hook only these in future subclasses of STE
      Overrides:
      write in class SmartTileEntity
    • tick

      public void tick()
      Overrides:
      tick in class SmartTileEntity
    • config

      public CSchematics config()
    • tickPrinter

      protected void tickPrinter()
    • getFuelUsageRate

      public double getFuelUsageRate()
    • initializePrinter

      protected void initializePrinter(net.minecraft.world.item.ItemStack blueprint)
    • getItemForBlock

      protected net.minecraft.world.item.ItemStack getItemForBlock(net.minecraft.world.level.block.state.BlockState blockState)
    • grabItemsFromAttachedInventories

      protected boolean grabItemsFromAttachedInventories(net.minecraft.world.item.ItemStack required, ItemRequirement.ItemUseType usage, boolean simulate)
    • finishedPrinting

      public void finishedPrinting()
    • resetPrinter

      protected void resetPrinter()
    • shouldPlace

      protected boolean shouldPlace(net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.block.entity.BlockEntity te, net.minecraft.world.level.block.state.BlockState toReplace, net.minecraft.world.level.block.state.BlockState toReplaceOther, boolean isNormalCube)
    • shouldIgnoreBlockState

      protected boolean shouldIgnoreBlockState(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.block.entity.BlockEntity te)
    • tickFlyingBlocks

      protected void tickFlyingBlocks()
    • refillFuelIfPossible

      protected void refillFuelIfPossible()
    • getFuelAddedByGunPowder

      public double getFuelAddedByGunPowder()
    • tickPaperPrinter

      protected void tickPaperPrinter()
    • stripBeltIfNotLast

      public static net.minecraft.world.level.block.state.BlockState stripBeltIfNotLast(net.minecraft.world.level.block.state.BlockState blockState)
    • launchBlockOrBelt

      protected void launchBlockOrBelt(net.minecraft.core.BlockPos target, net.minecraft.world.item.ItemStack icon, net.minecraft.world.level.block.state.BlockState blockState, net.minecraft.world.level.block.entity.BlockEntity tile)
    • launchBelt

      protected void launchBelt(net.minecraft.core.BlockPos target, net.minecraft.world.level.block.state.BlockState state, int length)
    • launchBlock

      protected void launchBlock(net.minecraft.core.BlockPos target, net.minecraft.world.item.ItemStack stack, net.minecraft.world.level.block.state.BlockState state, @Nullable net.minecraft.nbt.CompoundTag data)
    • launchEntity

      protected void launchEntity(net.minecraft.core.BlockPos target, net.minecraft.world.item.ItemStack stack, net.minecraft.world.entity.Entity entity)
    • playFiringSound

      public void playFiringSound()
    • sendToContainer

      public void sendToContainer(net.minecraft.network.FriendlyByteBuf buffer)
      Overrides:
      sendToContainer in class SmartTileEntity
    • createMenu

      public net.minecraft.world.inventory.AbstractContainerMenu createMenu(int id, net.minecraft.world.entity.player.Inventory inv, net.minecraft.world.entity.player.Player player)
      Specified by:
      createMenu in interface net.minecraft.world.inventory.MenuConstructor
    • getDisplayName

      public net.minecraft.network.chat.Component getDisplayName()
      Specified by:
      getDisplayName in interface net.minecraft.world.MenuProvider
    • updateChecklist

      public void updateChecklist()
    • addBehaviours

      public void addBehaviours(List<TileEntityBehaviour> behaviours)
      Specified by:
      addBehaviours in class SmartTileEntity
    • lazyTick

      public void lazyTick()
      Overrides:
      lazyTick in class SmartTileEntity
    • getRenderBoundingBox

      public net.minecraft.world.phys.AABB getRenderBoundingBox()
      Specified by:
      getRenderBoundingBox in interface net.minecraftforge.common.extensions.IForgeBlockEntity
    • shouldRenderNormally

      public boolean shouldRenderNormally()
      Specified by:
      shouldRenderNormally in interface com.jozufozu.flywheel.api.FlywheelRendered