Class FluidTankCasing

java.lang.Object
io.github.pylonmc.rebar.block.RebarBlock
io.github.pylonmc.pylon.content.machines.fluid.FluidTankCasing
All Implemented Interfaces:
io.github.pylonmc.rebar.block.base.RebarInteractBlock, net.kyori.adventure.key.Keyed, org.bukkit.Keyed

public class FluidTankCasing extends io.github.pylonmc.rebar.block.RebarBlock implements io.github.pylonmc.rebar.block.base.RebarInteractBlock
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
    static enum 
     

    Nested classes/interfaces inherited from class io.github.pylonmc.rebar.block.RebarBlock

    io.github.pylonmc.rebar.block.RebarBlock.Companion

    Nested classes/interfaces inherited from interface io.github.pylonmc.rebar.block.base.RebarInteractBlock

    io.github.pylonmc.rebar.block.base.RebarInteractBlock.Companion
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final List<io.github.pylonmc.rebar.fluid.tags.FluidTemperature>
     
    final double
     
     
     

    Fields inherited from class io.github.pylonmc.rebar.block.RebarBlock

    Companion

    Fields inherited from interface io.github.pylonmc.rebar.block.base.RebarInteractBlock

    Companion
  • Constructor Summary

    Constructors
    Constructor
    Description
    FluidTankCasing(@NotNull org.bukkit.block.Block block, @NotNull io.github.pylonmc.rebar.block.context.BlockCreateContext context)
     
    FluidTankCasing(@NotNull org.bukkit.block.Block block, @NotNull org.bukkit.persistence.PersistentDataContainer pdc)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull Map<String, kotlin.Pair<String,Integer>>
     
    void
    onInteract(@NotNull org.bukkit.event.player.PlayerInteractEvent event, @NotNull org.bukkit.event.EventPriority priority)
     
    void
     
    void
     

    Methods inherited from class io.github.pylonmc.rebar.block.RebarBlock

    getBlock, getBlockTextureEntity, getBlockTextureItem, getDefaultItem, getDefaultWailaTranslationKey, getDisableBlockTextureEntity, getDropItem, getKey, getLoreTranslationKey, getNameTranslationKey, getPickItem, getRebarBlock, getRebarBlockKeyKey, getRebarBlockPositionKey, getRebarBlockTextureEntityKey, getSchema, getSettings, getWaila, isVanillaBlock, postInitialise, postLoad, refreshBlockTextureItem, register, scheduleBlockTextureItemRefresh, setDisableBlockTextureEntity, setupBlockTexture, write, writeDebugInfo

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.bukkit.Keyed

    key
  • Field Details

    • capacity

      public final double capacity
    • allowedTemperatures

      public final List<io.github.pylonmc.rebar.fluid.tags.FluidTemperature> allowedTemperatures
    • shape

      public FluidTankCasing.Shape shape
    • tank

      public FluidTank tank
  • Constructor Details

    • FluidTankCasing

      public FluidTankCasing(@NotNull @NotNull org.bukkit.block.Block block, @NotNull @NotNull io.github.pylonmc.rebar.block.context.BlockCreateContext context)
    • FluidTankCasing

      public FluidTankCasing(@NotNull @NotNull org.bukkit.block.Block block, @NotNull @NotNull org.bukkit.persistence.PersistentDataContainer pdc)
  • Method Details

    • getBlockTextureProperties

      @NotNull public @NotNull Map<String, kotlin.Pair<String,Integer>> getBlockTextureProperties()
      Overrides:
      getBlockTextureProperties in class io.github.pylonmc.rebar.block.RebarBlock
    • onInteract

      public void onInteract(@NotNull @NotNull org.bukkit.event.player.PlayerInteractEvent event, @NotNull @NotNull org.bukkit.event.EventPriority priority)
      Specified by:
      onInteract in interface io.github.pylonmc.rebar.block.base.RebarInteractBlock
    • setShape

      public void setShape(@NotNull @NotNull FluidTankCasing.Shape shape)
    • reset

      public void reset()