java.lang.Object
me.desht.pneumaticcraft.common.thirdparty.patchouli.ComponentFluid
All Implemented Interfaces:
vazkii.patchouli.api.ICustomComponent, vazkii.patchouli.api.IVariablesAvailableCallback

public class ComponentFluid extends Object implements vazkii.patchouli.api.ICustomComponent
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    vazkii.patchouli.api.IVariable
     
    vazkii.patchouli.api.IVariable
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    build(int componentX, int componentY, int pageNum)
     
    void
    onVariablesAvailable(UnaryOperator<vazkii.patchouli.api.IVariable> lookup)
     
    void
    render(com.mojang.blaze3d.vertex.PoseStack matrixStack, vazkii.patchouli.api.IComponentRenderContext ctx, float pticks, int mouseX, int mouseY)
     

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface vazkii.patchouli.api.ICustomComponent

    mouseClicked, onDisplayed
  • Field Details

    • fluid

      public vazkii.patchouli.api.IVariable fluid
    • scale

      public vazkii.patchouli.api.IVariable scale
  • Constructor Details

    • ComponentFluid

      public ComponentFluid()
  • Method Details

    • build

      public void build(int componentX, int componentY, int pageNum)
      Specified by:
      build in interface vazkii.patchouli.api.ICustomComponent
    • render

      public void render(com.mojang.blaze3d.vertex.PoseStack matrixStack, vazkii.patchouli.api.IComponentRenderContext ctx, float pticks, int mouseX, int mouseY)
      Specified by:
      render in interface vazkii.patchouli.api.ICustomComponent
    • onVariablesAvailable

      public void onVariablesAvailable(UnaryOperator<vazkii.patchouli.api.IVariable> lookup)
      Specified by:
      onVariablesAvailable in interface vazkii.patchouli.api.IVariablesAvailableCallback