public class SuperByteBufferCache
extends java.lang.Object
| Constructor and Description |
|---|
SuperByteBufferCache() |
| Modifier and Type | Method and Description |
|---|---|
<T> SuperByteBuffer |
get(Compartment<T> compartment,
T key,
java.util.function.Supplier<SuperByteBuffer> supplier) |
static net.minecraft.client.renderer.BufferBuilder |
getBufferBuilder(net.minecraft.client.renderer.model.IBakedModel model,
net.minecraft.block.BlockState referenceState,
com.mojang.blaze3d.matrix.MatrixStack ms) |
void |
invalidate() |
<T> void |
invalidate(Compartment<T> compartment,
T key) |
void |
registerCompartment(Compartment<?> instance) |
void |
registerCompartment(Compartment<?> instance,
long ticksUntilExpired) |
SuperByteBuffer |
renderBlock(net.minecraft.block.BlockState toRender) |
SuperByteBuffer |
renderBlockIn(Compartment<net.minecraft.block.BlockState> compartment,
net.minecraft.block.BlockState toRender) |
SuperByteBuffer |
renderDirectionalPartial(com.jozufozu.flywheel.core.PartialModel partial,
net.minecraft.block.BlockState referenceState,
net.minecraft.util.Direction dir) |
SuperByteBuffer |
renderDirectionalPartial(com.jozufozu.flywheel.core.PartialModel partial,
net.minecraft.block.BlockState referenceState,
net.minecraft.util.Direction dir,
java.util.function.Supplier<com.mojang.blaze3d.matrix.MatrixStack> modelTransform) |
SuperByteBuffer |
renderPartial(com.jozufozu.flywheel.core.PartialModel partial,
net.minecraft.block.BlockState referenceState) |
SuperByteBuffer |
renderPartial(com.jozufozu.flywheel.core.PartialModel partial,
net.minecraft.block.BlockState referenceState,
java.util.function.Supplier<com.mojang.blaze3d.matrix.MatrixStack> modelTransform) |
public SuperByteBuffer renderBlock(net.minecraft.block.BlockState toRender)
public SuperByteBuffer renderPartial(com.jozufozu.flywheel.core.PartialModel partial, net.minecraft.block.BlockState referenceState)
public SuperByteBuffer renderPartial(com.jozufozu.flywheel.core.PartialModel partial, net.minecraft.block.BlockState referenceState, java.util.function.Supplier<com.mojang.blaze3d.matrix.MatrixStack> modelTransform)
public SuperByteBuffer renderDirectionalPartial(com.jozufozu.flywheel.core.PartialModel partial, net.minecraft.block.BlockState referenceState, net.minecraft.util.Direction dir)
public SuperByteBuffer renderDirectionalPartial(com.jozufozu.flywheel.core.PartialModel partial, net.minecraft.block.BlockState referenceState, net.minecraft.util.Direction dir, java.util.function.Supplier<com.mojang.blaze3d.matrix.MatrixStack> modelTransform)
public SuperByteBuffer renderBlockIn(Compartment<net.minecraft.block.BlockState> compartment, net.minecraft.block.BlockState toRender)
public <T> SuperByteBuffer get(Compartment<T> compartment, T key, java.util.function.Supplier<SuperByteBuffer> supplier)
public <T> void invalidate(Compartment<T> compartment, T key)
public void registerCompartment(Compartment<?> instance)
public void registerCompartment(Compartment<?> instance, long ticksUntilExpired)
public static net.minecraft.client.renderer.BufferBuilder getBufferBuilder(net.minecraft.client.renderer.model.IBakedModel model,
net.minecraft.block.BlockState referenceState,
com.mojang.blaze3d.matrix.MatrixStack ms)
public void invalidate()