Class HTFluidTank.Basic

  • All Implemented Interfaces:
    hiiragi283.core.api.HTDataSerializable , hiiragi283.core.api.storage.amount.HTAmountView , hiiragi283.core.api.storage.fluid.HTFluidTank , hiiragi283.core.api.storage.resource.HTResourceSlot , hiiragi283.core.api.storage.resource.HTResourceView , net.neoforged.neoforge.common.util.INBTSerializable

    
    public abstract class HTFluidTank.Basic
    extends HTResourceSlot.Basic<HTFluidResourceType> implements HTFluidTank
                        

    HTFluidResourceType向けのHTResourceSlot.Basicの拡張クラスです。

    Since:

    0.4.0

    Author:

    Hiiragi Tsubasa

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Unit setStack(FluidStack stack)
      String toString()
      • Methods inherited from class hiiragi283.core.api.storage.resource.HTResourceSlot.Basic

        canStackExtract, extract, insert, isStackValidForInsert, setResource
      • Methods inherited from class hiiragi283.core.api.storage.resource.HTResourceSlot

        extract, isValid
      • Methods inherited from class hiiragi283.core.api.storage.amount.HTAmountView.Mutable

        setAmount
      • Methods inherited from class hiiragi283.core.api.storage.amount.HTAmountView

        getAmount, getCapacity, getLevelAsFloat, getLevelAsFraction, getNeeded
      • Methods inherited from class hiiragi283.core.api.storage.resource.HTResourceView

        getCapacity, getLevelAsFloat, getLevelAsFraction, getNeeded, getResource
      • Methods inherited from class hiiragi283.core.api.HTDataSerializable

        serializeNBT
      • Methods inherited from class net.neoforged.neoforge.common.util.INBTSerializable

        deserializeNBT
      • Methods inherited from class java.lang.Object

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