Package info.u_team.u_team_core.util
Klasse ModelUtil
java.lang.Object
info.u_team.u_team_core.util.ModelUtil
Utility methods for interaction with
ModelBakery private methods.-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic classUtility class for an empty state definition -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic voidaddCustomStateContainer(net.minecraft.resources.ResourceLocation location, net.minecraft.world.level.block.state.StateDefinition<net.minecraft.world.level.block.Block, net.minecraft.world.level.block.state.BlockState> definition) Replace the default state definition with a custom one.
-
Konstruktordetails
-
ModelUtil
public ModelUtil()
-
-
Methodendetails
-
addCustomStateContainer
public static void addCustomStateContainer(net.minecraft.resources.ResourceLocation location, net.minecraft.world.level.block.state.StateDefinition<net.minecraft.world.level.block.Block, net.minecraft.world.level.block.state.BlockState> definition) Replace the default state definition with a custom one. Can remove or add states for the model- Parameter:
location- Resource location of the modeldefinition- Custom state definition
-