Class DioMultipartBlockStateBuilder

java.lang.Object
fr.alasdiablo.diolib.api.data.blockstate.DioMultipartBlockStateBuilder
All Implemented Interfaces:
net.minecraftforge.client.model.generators.IGeneratedBlockState

public class DioMultipartBlockStateBuilder extends Object implements net.minecraftforge.client.model.generators.IGeneratedBlockState
Class used to create multiple part block-state
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addMultipart(@NotNull net.minecraft.resources.ResourceLocation modelPathIn)
     
    void
    addMultipart(@NotNull net.minecraft.resources.ResourceLocation modelPathIn, boolean uvLockIn)
     
    void
    addMultipart(@NotNull net.minecraft.resources.ResourceLocation modelPathIn, boolean north, boolean east, boolean south, boolean west)
     
    void
    addMultipart(@NotNull net.minecraft.resources.ResourceLocation modelPathIn, boolean uvLockIn, boolean north, boolean east, boolean south, boolean west)
     
    void
    addMultipart(@NotNull net.minecraft.resources.ResourceLocation modelPathIn, boolean uvLockIn, int xIn, int yIn)
     
    void
    addMultipart(@NotNull net.minecraft.resources.ResourceLocation modelPathIn, boolean uvLockIn, int xIn, int yIn, boolean north, boolean east, boolean south, boolean west)
     
    @NotNull com.google.gson.JsonObject
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DioMultipartBlockStateBuilder

      public DioMultipartBlockStateBuilder()
  • Method Details

    • addMultipart

      public void addMultipart(@NotNull @NotNull net.minecraft.resources.ResourceLocation modelPathIn)
      Parameters:
      modelPathIn - Resource location of the model
    • addMultipart

      public void addMultipart(@NotNull @NotNull net.minecraft.resources.ResourceLocation modelPathIn, boolean uvLockIn)
      Parameters:
      modelPathIn - Resource location of the model
      uvLockIn - Model is uv lock
    • addMultipart

      public void addMultipart(@NotNull @NotNull net.minecraft.resources.ResourceLocation modelPathIn, boolean uvLockIn, int xIn, int yIn)
    • addMultipart

      public void addMultipart(@NotNull @NotNull net.minecraft.resources.ResourceLocation modelPathIn, boolean north, boolean east, boolean south, boolean west)
    • addMultipart

      public void addMultipart(@NotNull @NotNull net.minecraft.resources.ResourceLocation modelPathIn, boolean uvLockIn, boolean north, boolean east, boolean south, boolean west)
    • addMultipart

      public void addMultipart(@NotNull @NotNull net.minecraft.resources.ResourceLocation modelPathIn, boolean uvLockIn, int xIn, int yIn, boolean north, boolean east, boolean south, boolean west)
    • toJson

      @NotNull public @NotNull com.google.gson.JsonObject toJson()
      Specified by:
      toJson in interface net.minecraftforge.client.model.generators.IGeneratedBlockState