Class RenderableTest.Client
java.lang.Object
net.neoforged.neoforge.oldtest.client.rendering.RenderableTest.Client
- Enclosing class:
RenderableTest
-
Field Summary
Modifier and TypeFieldDescriptionprivate static IRenderable
<ModelData> private static ResourceLocation
private static IRenderable
<CompositeRenderable.Transforms> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static RenderType
getRenderType
(RenderLevelStageEvent.Stage stage, ResourceLocation texture) static void
init
(net.neoforged.bus.api.IEventBus modBus) private static void
static void
static void
private static void
render
(RenderLevelStageEvent.Stage stage, PoseStack poseStack, int renderTick, float partialTick, double camX, double camY, double camZ, int xOffset) private static void
renderStage
(RenderLevelStageEvent event)
-
Field Details
-
MODEL_LOC
-
renderable
-
bakedRenderable
-
-
Constructor Details
-
Client
private Client()
-
-
Method Details
-
init
public static void init(net.neoforged.bus.api.IEventBus modBus) -
registerModels
-
registerReloadListeners
-
registerStage
-
renderStage
-
render
private static void render(RenderLevelStageEvent.Stage stage, PoseStack poseStack, int renderTick, float partialTick, double camX, double camY, double camZ, int xOffset) -
getRenderType
private static RenderType getRenderType(RenderLevelStageEvent.Stage stage, ResourceLocation texture)
-