Class ValueBox
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 ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classNested classes/interfaces inherited from class net.createmod.catnip.outliner.Outline
net.createmod.catnip.outliner.Outline.OutlineParams -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected net.minecraft.world.level.block.state.BlockStatebooleanprotected net.minecraft.network.chat.Componentprotected WeakReference<net.minecraft.world.level.LevelAccessor> protected AllIconsintprotected net.minecraft.core.BlockPosprotected ValueBoxTransformFields inherited from class net.createmod.catnip.outliner.AABBOutline
bb, colorTemp1, maxPosTemp1, minPosTemp1, normalTemp, originTemp, pos0Temp, pos1Temp, pos2Temp, pos3TempFields inherited from class net.createmod.catnip.outliner.Outline
colorTemp, diffPosTemp, maxPosTemp, minPosTemp, normalTransformTemp, params, posTransformTemp -
Constructor Summary
ConstructorsConstructorDescriptionValueBox(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 TypeMethodDescriptionpassive(boolean passive) voidrender(com.mojang.blaze3d.vertex.PoseStack ms, net.createmod.catnip.render.SuperRenderTypeBuffer buffer, net.minecraft.world.phys.Vec3 camera, float pt) voidrenderContents(com.mojang.blaze3d.vertex.PoseStack ms, net.minecraft.client.renderer.MultiBufferSource buffer) transform(ValueBoxTransform transform) withColor(int color) Methods inherited from class net.createmod.catnip.outliner.ChasingAABBOutline
target, tickMethods inherited from class net.createmod.catnip.outliner.AABBOutline
getBounds, renderBox, renderBoxEdges, renderBoxFace, renderBoxFace, renderBoxFaces, setBoundsMethods inherited from class net.createmod.catnip.outliner.Outline
bufferCuboid, bufferCuboidLine, bufferCuboidLine, bufferQuad, bufferQuad, getParams
-
Field Details
-
label
protected net.minecraft.network.chat.Component label -
overrideColor
public int overrideColor -
isPassive
public boolean isPassive -
transform
-
level
-
pos
protected net.minecraft.core.BlockPos pos -
blockState
protected net.minecraft.world.level.block.state.BlockState blockState -
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
-
wideOutline
-
passive
-
withColor
-
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:
renderin classnet.createmod.catnip.outliner.ChasingAABBOutline
-
getOutline
-
renderContents
public void renderContents(com.mojang.blaze3d.vertex.PoseStack ms, net.minecraft.client.renderer.MultiBufferSource buffer)
-