Package net.minecraft.client.renderer
Class RenderTypeLookup
java.lang.Object
net.minecraft.client.renderer.RenderTypeLookup
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final Map<IRegistryDelegate<Block>,
Predicate<RenderType>> private static final Map<IRegistryDelegate<Fluid>,
Predicate<RenderType>> private static boolean
private static final Map<Block,
RenderType> Deprecated.private static final Map<Fluid,
RenderType> Deprecated. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
canRenderInLayer
(BlockState state, RenderType type) static boolean
canRenderInLayer
(FluidState fluid, RenderType type) static RenderType
getChunkRenderType
(BlockState p_228390_0_) Deprecated.static RenderType
getMovingBlockRenderType
(BlockState p_239221_0_) Deprecated.static RenderType
getRenderLayer
(FluidState p_228391_0_) Deprecated.static RenderType
getRenderType
(BlockState p_239220_0_, boolean p_239220_1_) static RenderType
getRenderType
(ItemStack p_239219_0_, boolean p_239219_1_) static void
setFancy
(boolean p_228393_0_) static void
setRenderLayer
(Block block, Predicate<RenderType> predicate) static void
setRenderLayer
(Block block, RenderType type) static void
setRenderLayer
(Fluid fluid, Predicate<RenderType> predicate) static void
setRenderLayer
(Fluid fluid, RenderType type)
-
Field Details
-
TYPE_BY_BLOCK
Deprecated. -
TYPE_BY_FLUID
Deprecated. -
renderCutout
private static boolean renderCutout -
blockRenderChecks
-
fluidRenderChecks
-
-
Constructor Details
-
RenderTypeLookup
public RenderTypeLookup()
-
-
Method Details
-
getChunkRenderType
Deprecated. -
getMovingBlockRenderType
Deprecated. -
getRenderType
-
getRenderType
-
getRenderLayer
Deprecated. -
canRenderInLayer
-
canRenderInLayer
-
setRenderLayer
-
setRenderLayer
-
setRenderLayer
-
setRenderLayer
-
setFancy
public static void setFancy(boolean p_228393_0_)
-