Class CopycatDisplayModel

java.lang.Object
net.minecraftforge.client.model.BakedModelWrapper<net.minecraft.client.resources.model.BakedModel>
com.simibubi.create.foundation.model.BakedModelWrapperWithData
com.simibubi.create.content.decoration.copycat.CopycatModel
de.mrjulsen.crn.forge.client.CopycatDisplayModel
All Implemented Interfaces:
net.minecraft.client.resources.model.BakedModel, net.minecraftforge.client.extensions.IForgeBakedModel

public class CopycatDisplayModel extends com.simibubi.create.content.decoration.copycat.CopycatModel
  • Field Summary

    Fields inherited from class com.simibubi.create.content.decoration.copycat.CopycatModel

    MATERIAL_PROPERTY

    Fields inherited from class net.minecraftforge.client.model.BakedModelWrapper

    originalModel
  • Constructor Summary

    Constructors
    Constructor
    Description
    CopycatDisplayModel(net.minecraft.client.resources.model.BakedModel wrapped, com.simibubi.create.foundation.block.connected.ConnectedTextureBehaviour ctDisplay, com.simibubi.create.foundation.block.connected.ConnectedTextureBehaviour ctFrame, net.minecraft.resources.ResourceLocation copycatTexture)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected List<net.minecraft.client.renderer.block.model.BakedQuad>
    cropQuads(net.minecraft.core.Direction side, net.minecraft.util.RandomSource rand, net.minecraft.world.level.block.state.BlockState material, net.minecraftforge.client.model.data.ModelData wrappedData, net.minecraft.client.renderer.RenderType renderType, net.minecraft.client.renderer.block.model.BakedQuad templateQuad)
     
    protected net.minecraftforge.client.model.data.ModelData.Builder
    gatherModelData(net.minecraftforge.client.model.data.ModelData.Builder builder, net.minecraft.world.level.BlockAndTintGetter world, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, net.minecraftforge.client.model.data.ModelData blockEntityData)
     
    protected List<net.minecraft.client.renderer.block.model.BakedQuad>
    getCroppedQuads(net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction side, net.minecraft.util.RandomSource rand, net.minecraft.world.level.block.state.BlockState material, net.minecraftforge.client.model.data.ModelData wrappedData, net.minecraft.client.renderer.RenderType renderType)
     
    List<net.minecraft.client.renderer.block.model.BakedQuad>
    getQuads(net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction side, net.minecraft.util.RandomSource rand)
     
    List<net.minecraft.client.renderer.block.model.BakedQuad>
    getQuads(net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction side, net.minecraft.util.RandomSource rand, net.minecraftforge.client.model.data.ModelData data, net.minecraft.client.renderer.RenderType renderType)
     
    static net.minecraft.client.renderer.block.model.BakedQuad
    remapQuadWithPreciseCrop(net.minecraft.client.renderer.block.model.BakedQuad material, net.minecraft.world.phys.Vec3 p0, net.minecraft.world.phys.Vec3 p1, net.minecraft.world.phys.Vec3 p2, net.minecraft.world.phys.Vec3 p3, double u0, double v0, double u1, double v1)
     
    static List<net.minecraft.client.renderer.block.model.BakedQuad>
    splitIntoCornerQuadrants(net.minecraft.client.renderer.block.model.BakedQuad geo, net.minecraft.client.renderer.block.model.BakedQuad material)
     

    Methods inherited from class com.simibubi.create.content.decoration.copycat.CopycatModel

    getMaterial, getModelOf, getParticleIcon

    Methods inherited from class com.simibubi.create.foundation.model.BakedModelWrapperWithData

    getModelData

    Methods inherited from class net.minecraftforge.client.model.BakedModelWrapper

    applyTransform, getOverrides, getParticleIcon, getRenderPasses, getRenderTypes, getRenderTypes, getTransforms, isCustomRenderer, isGui3d, useAmbientOcclusion, useAmbientOcclusion, useAmbientOcclusion, usesBlockLight

    Methods inherited from class java.lang.Object

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

    • CopycatDisplayModel

      public CopycatDisplayModel(net.minecraft.client.resources.model.BakedModel wrapped, com.simibubi.create.foundation.block.connected.ConnectedTextureBehaviour ctDisplay, com.simibubi.create.foundation.block.connected.ConnectedTextureBehaviour ctFrame, net.minecraft.resources.ResourceLocation copycatTexture)
  • Method Details

    • gatherModelData

      protected net.minecraftforge.client.model.data.ModelData.Builder gatherModelData(net.minecraftforge.client.model.data.ModelData.Builder builder, net.minecraft.world.level.BlockAndTintGetter world, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, net.minecraftforge.client.model.data.ModelData blockEntityData)
      Overrides:
      gatherModelData in class com.simibubi.create.content.decoration.copycat.CopycatModel
    • getQuads

      public List<net.minecraft.client.renderer.block.model.BakedQuad> getQuads(net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction side, net.minecraft.util.RandomSource rand)
      Specified by:
      getQuads in interface net.minecraft.client.resources.model.BakedModel
      Overrides:
      getQuads in class com.simibubi.create.content.decoration.copycat.CopycatModel
    • getQuads

      public List<net.minecraft.client.renderer.block.model.BakedQuad> getQuads(net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction side, net.minecraft.util.RandomSource rand, net.minecraftforge.client.model.data.ModelData data, net.minecraft.client.renderer.RenderType renderType)
      Specified by:
      getQuads in interface net.minecraftforge.client.extensions.IForgeBakedModel
      Overrides:
      getQuads in class com.simibubi.create.content.decoration.copycat.CopycatModel
    • getCroppedQuads

      protected List<net.minecraft.client.renderer.block.model.BakedQuad> getCroppedQuads(net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction side, net.minecraft.util.RandomSource rand, net.minecraft.world.level.block.state.BlockState material, net.minecraftforge.client.model.data.ModelData wrappedData, net.minecraft.client.renderer.RenderType renderType)
      Specified by:
      getCroppedQuads in class com.simibubi.create.content.decoration.copycat.CopycatModel
    • cropQuads

      protected List<net.minecraft.client.renderer.block.model.BakedQuad> cropQuads(net.minecraft.core.Direction side, net.minecraft.util.RandomSource rand, net.minecraft.world.level.block.state.BlockState material, net.minecraftforge.client.model.data.ModelData wrappedData, net.minecraft.client.renderer.RenderType renderType, net.minecraft.client.renderer.block.model.BakedQuad templateQuad)
    • splitIntoCornerQuadrants

      public static List<net.minecraft.client.renderer.block.model.BakedQuad> splitIntoCornerQuadrants(net.minecraft.client.renderer.block.model.BakedQuad geo, net.minecraft.client.renderer.block.model.BakedQuad material)
    • remapQuadWithPreciseCrop

      public static net.minecraft.client.renderer.block.model.BakedQuad remapQuadWithPreciseCrop(net.minecraft.client.renderer.block.model.BakedQuad material, net.minecraft.world.phys.Vec3 p0, net.minecraft.world.phys.Vec3 p1, net.minecraft.world.phys.Vec3 p2, net.minecraft.world.phys.Vec3 p3, double u0, double v0, double u1, double v1)