Klasse ModelUtil

java.lang.Object
info.u_team.u_team_core.util.ModelUtil

public class ModelUtil extends Object
Utility methods for interaction with ModelBakery private methods.
  • Verschachtelte Klassen - Übersicht

    Verschachtelte Klassen
    Modifizierer und Typ
    Klasse
    Beschreibung
    static class 
    Utility class for an empty state definition
  • Konstruktorübersicht

    Konstruktoren
    Konstruktor
    Beschreibung
     
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    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.

    Von Klasse geerbte Methoden java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 model
      definition - Custom state definition