Class OffsetTransparentGhostBlockRenderer
java.lang.Object
net.createmod.catnip.ghostblock.GhostBlockRenderer
com.petrolpark.compat.create.client.ghostBlocks.OffsetTransparentGhostBlockRenderer
@ParametersAreNonnullByDefault
public class OffsetTransparentGhostBlockRenderer
extends net.createmod.catnip.ghostblock.GhostBlockRenderer
Copied from
GhostBlockRenderer.transparent() Create source code-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedOffsetTransparentGhostBlockRenderer(net.minecraft.world.phys.Vec3 offset) -
Method Summary
Modifier and TypeMethodDescriptionvoidrender(com.mojang.blaze3d.vertex.PoseStack ms, net.createmod.catnip.render.SuperRenderTypeBuffer buffer, net.minecraft.world.phys.Vec3 camera, net.createmod.catnip.ghostblock.GhostBlockParams params) static final net.createmod.catnip.ghostblock.GhostBlockParamsshow(Object slot, net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.phys.Vec3 offset) static final net.createmod.catnip.ghostblock.GhostBlockParamsshow(Object slot, net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.phys.Vec3 offset, int ttl) Methods inherited from class net.createmod.catnip.ghostblock.GhostBlockRenderer
standard, transparent
-
Field Details
-
offset
protected final net.minecraft.world.phys.Vec3 offset
-
-
Constructor Details
-
OffsetTransparentGhostBlockRenderer
protected OffsetTransparentGhostBlockRenderer(net.minecraft.world.phys.Vec3 offset)
-
-
Method Details
-
show
public static final net.createmod.catnip.ghostblock.GhostBlockParams show(Object slot, net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.phys.Vec3 offset) -
show
public static final net.createmod.catnip.ghostblock.GhostBlockParams show(Object slot, net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.phys.Vec3 offset, int ttl) -
render
public void render(com.mojang.blaze3d.vertex.PoseStack ms, net.createmod.catnip.render.SuperRenderTypeBuffer buffer, net.minecraft.world.phys.Vec3 camera, net.createmod.catnip.ghostblock.GhostBlockParams params) - Specified by:
renderin classnet.createmod.catnip.ghostblock.GhostBlockRenderer
-