Class WorldlyPatternRenderHelpers
java.lang.Object
at.petrak.hexcasting.client.render.WorldlyPatternRenderHelpers
Helper methods for rendering patterns in the world.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PatternSettingsstatic final PatternSettingsstatic final PatternSettingsstatic final PatternSettings -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidrenderPattern(at.petrak.hexcasting.api.casting.math.HexPattern pattern, PatternSettings patSets, PatternColors patColors, double seed, com.mojang.blaze3d.vertex.PoseStack ps, net.minecraft.client.renderer.MultiBufferSource bufSource, net.minecraft.world.phys.Vec3 normal, Float zOffset, int light, int blockSize) Renders a pattern in world space based on the given transform requirementsstatic voidrenderPatternForAkashicBookshelf(BlockEntityAkashicBookshelf tile, at.petrak.hexcasting.api.casting.math.HexPattern pattern, com.mojang.blaze3d.vertex.PoseStack ps, net.minecraft.client.renderer.MultiBufferSource buffer, int light, net.minecraft.world.level.block.state.BlockState bs) static voidrenderPatternForScroll(at.petrak.hexcasting.api.casting.math.HexPattern pattern, EntityWallScroll scroll, com.mojang.blaze3d.vertex.PoseStack ps, net.minecraft.client.renderer.MultiBufferSource bufSource, int light, int blockSize, boolean showStrokeOrder) static voidrenderPatternForSlate(BlockEntitySlate tile, at.petrak.hexcasting.api.casting.math.HexPattern pattern, com.mojang.blaze3d.vertex.PoseStack ps, net.minecraft.client.renderer.MultiBufferSource buffer, int light, net.minecraft.world.level.block.state.BlockState bs)
-
Field Details
-
SCROLL_SETTINGS
-
READABLE_SCROLL_SETTINGS
-
WORLDLY_SETTINGS
-
WORLDLY_SETTINGS_WOBBLY
-
-
Constructor Details
-
WorldlyPatternRenderHelpers
public WorldlyPatternRenderHelpers()
-
-
Method Details
-
renderPatternForScroll
public static void renderPatternForScroll(at.petrak.hexcasting.api.casting.math.HexPattern pattern, EntityWallScroll scroll, com.mojang.blaze3d.vertex.PoseStack ps, net.minecraft.client.renderer.MultiBufferSource bufSource, int light, int blockSize, boolean showStrokeOrder) -
renderPatternForSlate
public static void renderPatternForSlate(BlockEntitySlate tile, at.petrak.hexcasting.api.casting.math.HexPattern pattern, com.mojang.blaze3d.vertex.PoseStack ps, net.minecraft.client.renderer.MultiBufferSource buffer, int light, net.minecraft.world.level.block.state.BlockState bs) -
renderPatternForAkashicBookshelf
public static void renderPatternForAkashicBookshelf(BlockEntityAkashicBookshelf tile, at.petrak.hexcasting.api.casting.math.HexPattern pattern, com.mojang.blaze3d.vertex.PoseStack ps, net.minecraft.client.renderer.MultiBufferSource buffer, int light, net.minecraft.world.level.block.state.BlockState bs) -
renderPattern
public static void renderPattern(at.petrak.hexcasting.api.casting.math.HexPattern pattern, PatternSettings patSets, PatternColors patColors, double seed, com.mojang.blaze3d.vertex.PoseStack ps, net.minecraft.client.renderer.MultiBufferSource bufSource, net.minecraft.world.phys.Vec3 normal, @Nullable Float zOffset, int light, int blockSize) Renders a pattern in world space based on the given transform requirements
-