Class DoorModelRegistry.DoorConfig

java.lang.Object
com.hbm_m.client.model.variant.DoorModelRegistry.DoorConfig
Enclosing class:
DoorModelRegistry

public static class DoorModelRegistry.DoorConfig extends Object
Конфигурация одной двери
  • Constructor Details

    • DoorConfig

      public DoorConfig(String doorId, net.minecraft.resources.ResourceLocation legacyModel, net.minecraft.resources.ResourceLocation modernModel, List<DoorSkin> skins)
  • Method Details

    • getDoorId

      public String getDoorId()
    • getLegacyModel

      public net.minecraft.resources.ResourceLocation getLegacyModel()
    • getModernModel

      public net.minecraft.resources.ResourceLocation getModernModel()
    • getSkins

      public List<DoorSkin> getSkins()
    • getDefaultSelection

      public DoorModelSelection getDefaultSelection()
    • setDefaultSelection

      public void setDefaultSelection(DoorModelSelection selection)
    • getSkinById

      public DoorSkin getSkinById(String id)
    • fromJson

      public static DoorModelRegistry.DoorConfig fromJson(com.google.gson.JsonObject json)
      Парсинг из JSON