Class CachedBufferer
java.lang.Object
com.simibubi.create.foundation.render.CachedBufferer
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SuperByteBufferCache.Compartment<org.apache.commons.lang3.tuple.Pair<net.minecraft.core.Direction,com.jozufozu.flywheel.core.PartialModel>> static final SuperByteBufferCache.Compartment<net.minecraft.world.level.block.state.BlockState>static final SuperByteBufferCache.Compartment<com.jozufozu.flywheel.core.PartialModel> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SuperByteBufferblock(SuperByteBufferCache.Compartment<net.minecraft.world.level.block.state.BlockState> compartment, net.minecraft.world.level.block.state.BlockState toRender) static SuperByteBufferblock(net.minecraft.world.level.block.state.BlockState toRender) static SuperByteBufferpartial(com.jozufozu.flywheel.core.PartialModel partial, net.minecraft.world.level.block.state.BlockState referenceState) static SuperByteBufferpartial(com.jozufozu.flywheel.core.PartialModel partial, net.minecraft.world.level.block.state.BlockState referenceState, Supplier<com.mojang.blaze3d.vertex.PoseStack> modelTransform) static SuperByteBufferpartialDirectional(com.jozufozu.flywheel.core.PartialModel partial, net.minecraft.world.level.block.state.BlockState referenceState, net.minecraft.core.Direction dir, Supplier<com.mojang.blaze3d.vertex.PoseStack> modelTransform) static SuperByteBufferpartialFacing(com.jozufozu.flywheel.core.PartialModel partial, net.minecraft.world.level.block.state.BlockState referenceState) static SuperByteBufferpartialFacing(com.jozufozu.flywheel.core.PartialModel partial, net.minecraft.world.level.block.state.BlockState referenceState, net.minecraft.core.Direction facing) static SuperByteBufferpartialFacingVertical(com.jozufozu.flywheel.core.PartialModel partial, net.minecraft.world.level.block.state.BlockState referenceState, net.minecraft.core.Direction facing) static Supplier<com.mojang.blaze3d.vertex.PoseStack>rotateToFace(net.minecraft.core.Direction facing) static Supplier<com.mojang.blaze3d.vertex.PoseStack>rotateToFaceVertical(net.minecraft.core.Direction facing)
-
Field Details
-
GENERIC_TILE
public static final SuperByteBufferCache.Compartment<net.minecraft.world.level.block.state.BlockState> GENERIC_TILE -
PARTIAL
public static final SuperByteBufferCache.Compartment<com.jozufozu.flywheel.core.PartialModel> PARTIAL -
DIRECTIONAL_PARTIAL
public static final SuperByteBufferCache.Compartment<org.apache.commons.lang3.tuple.Pair<net.minecraft.core.Direction,com.jozufozu.flywheel.core.PartialModel>> DIRECTIONAL_PARTIAL
-
-
Constructor Details
-
CachedBufferer
public CachedBufferer()
-
-
Method Details
-
block
-
block
public static SuperByteBuffer block(SuperByteBufferCache.Compartment<net.minecraft.world.level.block.state.BlockState> compartment, net.minecraft.world.level.block.state.BlockState toRender) -
partial
public static SuperByteBuffer partial(com.jozufozu.flywheel.core.PartialModel partial, net.minecraft.world.level.block.state.BlockState referenceState) -
partial
public static SuperByteBuffer partial(com.jozufozu.flywheel.core.PartialModel partial, net.minecraft.world.level.block.state.BlockState referenceState, Supplier<com.mojang.blaze3d.vertex.PoseStack> modelTransform) -
partialFacing
public static SuperByteBuffer partialFacing(com.jozufozu.flywheel.core.PartialModel partial, net.minecraft.world.level.block.state.BlockState referenceState) -
partialFacing
public static SuperByteBuffer partialFacing(com.jozufozu.flywheel.core.PartialModel partial, net.minecraft.world.level.block.state.BlockState referenceState, net.minecraft.core.Direction facing) -
partialFacingVertical
public static SuperByteBuffer partialFacingVertical(com.jozufozu.flywheel.core.PartialModel partial, net.minecraft.world.level.block.state.BlockState referenceState, net.minecraft.core.Direction facing) -
partialDirectional
public static SuperByteBuffer partialDirectional(com.jozufozu.flywheel.core.PartialModel partial, net.minecraft.world.level.block.state.BlockState referenceState, net.minecraft.core.Direction dir, Supplier<com.mojang.blaze3d.vertex.PoseStack> modelTransform) -
rotateToFace
public static Supplier<com.mojang.blaze3d.vertex.PoseStack> rotateToFace(net.minecraft.core.Direction facing) -
rotateToFaceVertical
public static Supplier<com.mojang.blaze3d.vertex.PoseStack> rotateToFaceVertical(net.minecraft.core.Direction facing)
-