java.lang.Object
net.createmod.catnip.outliner.Outline
net.createmod.catnip.outliner.AABBOutline
net.createmod.catnip.outliner.ChasingAABBOutline
com.simibubi.create.foundation.blockEntity.behaviour.ValueBox
Direct Known Subclasses:
ValueBox.IconValueBox, ValueBox.ItemValueBox, ValueBox.TextValueBox

public class ValueBox extends net.createmod.catnip.outliner.ChasingAABBOutline
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
    static class 
     
    static class 
     

    Nested classes/interfaces inherited from class net.createmod.catnip.outliner.Outline

    net.createmod.catnip.outliner.Outline.OutlineParams
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected net.minecraft.world.level.block.state.BlockState
     
    boolean
     
    protected net.minecraft.network.chat.Component
     
    protected WeakReference<net.minecraft.world.level.LevelAccessor>
     
    protected AllIcons
     
    int
     
    protected net.minecraft.core.BlockPos
     
     

    Fields inherited from class net.createmod.catnip.outliner.AABBOutline

    bb, colorTemp1, maxPosTemp1, minPosTemp1, normalTemp, originTemp, pos0Temp, pos1Temp, pos2Temp, pos3Temp

    Fields inherited from class net.createmod.catnip.outliner.Outline

    colorTemp, diffPosTemp, maxPosTemp, minPosTemp, normalTransformTemp, params, posTransformTemp
  • Constructor Summary

    Constructors
    Constructor
    Description
    ValueBox(net.minecraft.network.chat.Component label, net.minecraft.world.phys.AABB bb, net.minecraft.core.BlockPos pos)
     
    ValueBox(net.minecraft.network.chat.Component label, net.minecraft.world.phys.AABB bb, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    passive(boolean passive)
     
    void
    render(com.mojang.blaze3d.vertex.PoseStack ms, net.createmod.catnip.render.SuperRenderTypeBuffer buffer, net.minecraft.world.phys.Vec3 camera, float pt)
     
    void
    renderContents(com.mojang.blaze3d.vertex.PoseStack ms, net.minecraft.client.renderer.MultiBufferSource buffer)
     
     
     
    withColor(int color)
     

    Methods inherited from class net.createmod.catnip.outliner.ChasingAABBOutline

    target, tick

    Methods inherited from class net.createmod.catnip.outliner.AABBOutline

    getBounds, renderBox, renderBoxEdges, renderBoxFace, renderBoxFace, renderBoxFaces, setBounds

    Methods inherited from class net.createmod.catnip.outliner.Outline

    bufferCuboid, bufferCuboidLine, bufferCuboidLine, bufferQuad, bufferQuad, getParams

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • label

      protected net.minecraft.network.chat.Component label
    • overrideColor

      public int overrideColor
    • isPassive

      public boolean isPassive
    • transform

      protected ValueBoxTransform transform
    • level

      protected WeakReference<net.minecraft.world.level.LevelAccessor> level
    • pos

      protected net.minecraft.core.BlockPos pos
    • blockState

      protected net.minecraft.world.level.block.state.BlockState blockState
    • outline

      protected AllIcons outline
  • Constructor Details

    • ValueBox

      public ValueBox(net.minecraft.network.chat.Component label, net.minecraft.world.phys.AABB bb, net.minecraft.core.BlockPos pos)
    • ValueBox

      public ValueBox(net.minecraft.network.chat.Component label, net.minecraft.world.phys.AABB bb, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state)
  • Method Details

    • transform

      public ValueBox transform(ValueBoxTransform transform)
    • wideOutline

      public ValueBox wideOutline()
    • passive

      public ValueBox passive(boolean passive)
    • withColor

      public ValueBox withColor(int color)
    • render

      public void render(com.mojang.blaze3d.vertex.PoseStack ms, net.createmod.catnip.render.SuperRenderTypeBuffer buffer, net.minecraft.world.phys.Vec3 camera, float pt)
      Overrides:
      render in class net.createmod.catnip.outliner.ChasingAABBOutline
    • getOutline

      public AllIcons getOutline()
    • renderContents

      public void renderContents(com.mojang.blaze3d.vertex.PoseStack ms, net.minecraft.client.renderer.MultiBufferSource buffer)