Package codechicken.microblock.api
Interface MicroHighlightRenderer
public interface MicroHighlightRenderer
Used to override the default micro material placement highlight rendering.
Created by covers1624 on 22/10/22.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanrenderHighlight(net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand hand, net.minecraft.world.phys.BlockHitResult hit, StandardMicroFactory factory, int size, MicroMaterial material, com.mojang.blaze3d.vertex.PoseStack pStack, net.minecraft.client.renderer.MultiBufferSource buffers, float partialTicks) Called to handle any custom highlight rendering.
-
Method Details
-
renderHighlight
boolean renderHighlight(net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand hand, net.minecraft.world.phys.BlockHitResult hit, StandardMicroFactory factory, int size, MicroMaterial material, com.mojang.blaze3d.vertex.PoseStack pStack, net.minecraft.client.renderer.MultiBufferSource buffers, float partialTicks) Called to handle any custom highlight rendering.- Returns:
trueIf default rendering should be skipped.
-