Class ValueBox
java.lang.Object
com.simibubi.create.foundation.utility.outliner.Outline
com.simibubi.create.foundation.utility.outliner.AABBOutline
com.simibubi.create.foundation.utility.outliner.ChasingAABBOutline
com.simibubi.create.foundation.tileEntity.behaviour.ValueBox
- Direct Known Subclasses:
ValueBox.IconValueBox,ValueBox.ItemValueBox,ValueBox.TextValueBox
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classNested classes/interfaces inherited from class com.simibubi.create.foundation.utility.outliner.Outline
Outline.OutlineParams -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected net.minecraft.world.level.block.state.BlockStateprotected intbooleanprotected net.minecraft.network.chat.Componentprotected net.minecraft.world.phys.Vec3protected intprotected net.minecraft.core.BlockPosprotected net.minecraft.network.chat.Componentprotected net.minecraft.network.chat.Componentprotected ValueBoxTransformFields inherited from class com.simibubi.create.foundation.utility.outliner.AABBOutline
bbFields inherited from class com.simibubi.create.foundation.utility.outliner.Outline
params, transformNormals -
Constructor Summary
ConstructorsConstructorDescriptionValueBox(net.minecraft.network.chat.Component label, net.minecraft.world.phys.AABB bb, net.minecraft.core.BlockPos pos) -
Method Summary
Modifier and TypeMethodDescriptionoffsetLabel(net.minecraft.world.phys.Vec3 offset) passive(boolean passive) voidrender(com.mojang.blaze3d.vertex.PoseStack ms, SuperRenderTypeBuffer buffer, float pt) voidrenderContents(com.mojang.blaze3d.vertex.PoseStack ms, net.minecraft.client.renderer.MultiBufferSource buffer) protected voidrenderHoveringText(com.mojang.blaze3d.vertex.PoseStack ms, net.minecraft.client.renderer.MultiBufferSource buffer, net.minecraft.network.chat.Component text) protected voidrenderHoveringText(com.mojang.blaze3d.vertex.PoseStack ms, net.minecraft.client.renderer.MultiBufferSource buffer, net.minecraft.network.chat.Component text, int color, int shadowColor) scrollTooltip(net.minecraft.network.chat.Component scrollTip) subLabel(net.minecraft.network.chat.Component sublabel) transform(ValueBoxTransform transform) withColors(int passive, int highlight) Methods inherited from class com.simibubi.create.foundation.utility.outliner.ChasingAABBOutline
target, tickMethods inherited from class com.simibubi.create.foundation.utility.outliner.AABBOutline
renderBB, renderFace, setBoundsMethods inherited from class com.simibubi.create.foundation.utility.outliner.Outline
getParams, putQuad, putQuadUV, putVertex, putVertex, renderAACuboidLine, renderCuboidLine
-
Field Details
-
label
protected net.minecraft.network.chat.Component label -
sublabel
protected net.minecraft.network.chat.Component sublabel -
scrollTooltip
protected net.minecraft.network.chat.Component scrollTooltip -
labelOffset
protected net.minecraft.world.phys.Vec3 labelOffset -
passiveColor
protected int passiveColor -
highlightColor
protected int highlightColor -
isPassive
public boolean isPassive -
pos
protected net.minecraft.core.BlockPos pos -
transform
-
blockState
protected net.minecraft.world.level.block.state.BlockState blockState
-
-
Constructor Details
-
ValueBox
public ValueBox(net.minecraft.network.chat.Component label, net.minecraft.world.phys.AABB bb, net.minecraft.core.BlockPos pos)
-
-
Method Details
-
transform
-
offsetLabel
-
subLabel
-
scrollTooltip
-
withColors
-
passive
-
render
- Overrides:
renderin classChasingAABBOutline
-
renderContents
public void renderContents(com.mojang.blaze3d.vertex.PoseStack ms, net.minecraft.client.renderer.MultiBufferSource buffer) -
renderHoveringText
protected void renderHoveringText(com.mojang.blaze3d.vertex.PoseStack ms, net.minecraft.client.renderer.MultiBufferSource buffer, net.minecraft.network.chat.Component text) -
renderHoveringText
protected void renderHoveringText(com.mojang.blaze3d.vertex.PoseStack ms, net.minecraft.client.renderer.MultiBufferSource buffer, net.minecraft.network.chat.Component text, int color, int shadowColor)
-