Class VariableFacadeBase

java.lang.Object
org.cyclops.integrateddynamics.core.item.VariableFacadeBase
All Implemented Interfaces:
IVariableFacade
Direct Known Subclasses:
AspectVariableFacade, OperatorVariableFacade, ProxyVariableFacade, ValueTypeVariableFacade, VariableFacadeHandlerRegistry.DummyVariableFacade

public abstract class VariableFacadeBase extends Object implements IVariableFacade
Base implementation of IVariableFacade
  • Constructor Details Link icon

    • VariableFacadeBase Link icon

      public VariableFacadeBase(boolean generateId)
  • Method Details Link icon

    • generateId Link icon

      public static int generateId()
      Returns:
      A unique new variable id.
    • getLabel Link icon

      public String getLabel()
      Specified by:
      getLabel in interface IVariableFacade
      Returns:
      The optional label for this facade.
    • getReferenceDisplay Link icon

      protected String getReferenceDisplay(int variableId)
    • appendHoverText Link icon

      public void appendHoverText(List<net.minecraft.network.chat.Component> list, net.minecraft.world.item.Item.TooltipContext context)
      Description copied from interface: IVariableFacade
      Add information about this variable facade to the list.
      Specified by:
      appendHoverText in interface IVariableFacade
      Parameters:
      list - The list to add lines to.
      context - The context.