Package com.hbm_m.client.model.variant
Class DoorModelRegistry.DoorConfig
java.lang.Object
com.hbm_m.client.model.variant.DoorModelRegistry.DoorConfig
- Enclosing class:
- DoorModelRegistry
Конфигурация одной двери
-
Constructor Summary
ConstructorsConstructorDescriptionDoorConfig(String doorId, net.minecraft.resources.ResourceLocation legacyModel, net.minecraft.resources.ResourceLocation modernModel, List<DoorSkin> skins) -
Method Summary
Modifier and TypeMethodDescriptionstatic DoorModelRegistry.DoorConfigfromJson(com.google.gson.JsonObject json) Парсинг из JSONnet.minecraft.resources.ResourceLocationnet.minecraft.resources.ResourceLocationgetSkinById(String id) getSkins()voidsetDefaultSelection(DoorModelSelection selection)
-
Constructor Details
-
DoorConfig
-
-
Method Details
-
getDoorId
-
getLegacyModel
public net.minecraft.resources.ResourceLocation getLegacyModel() -
getModernModel
public net.minecraft.resources.ResourceLocation getModernModel() -
getSkins
-
getDefaultSelection
-
setDefaultSelection
-
getSkinById
-
fromJson
Парсинг из JSON
-