java.lang.Object
net.neoforged.neoforge.client.model.BakedModelWrapper<net.minecraft.client.resources.model.BakedModel>
com.simibubi.create.foundation.model.BakedModelWrapperWithData
com.simibubi.create.content.decoration.copycat.CopycatModel
com.petrolpark.compat.create.common.processing.extrusion.ExtrudedBlockModel
All Implemented Interfaces:
net.minecraft.client.resources.model.BakedModel, net.neoforged.neoforge.client.extensions.IBakedModelExtension

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

    Fields
    Modifier and Type
    Field
    Description
    protected static final net.minecraft.world.phys.AABB
     

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

    MATERIAL_PROPERTY

    Fields inherited from class net.neoforged.neoforge.client.model.BakedModelWrapper

    originalModel
  • Constructor Summary

    Constructors
    Constructor
    Description
    ExtrudedBlockModel(net.minecraft.world.level.block.state.BlockState extrusionResult, net.minecraft.core.Direction movementDirection, float progress)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected net.neoforged.neoforge.client.model.data.ModelData.Builder
    gatherModelData(net.neoforged.neoforge.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.neoforged.neoforge.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.neoforged.neoforge.client.model.data.ModelData wrappedData, net.minecraft.client.renderer.RenderType renderType)
     
    static int[]
    scale(int[] vertexData, float factor)
     

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

    getMaterial, getModelOf, getParticleIcon, getQuads, getQuads

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

    getModelData

    Methods inherited from class net.neoforged.neoforge.client.model.BakedModelWrapper

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

    Methods inherited from class java.lang.Object

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

    • CUBE_AABB

      protected static final net.minecraft.world.phys.AABB CUBE_AABB
  • Constructor Details

    • ExtrudedBlockModel

      public ExtrudedBlockModel(net.minecraft.world.level.block.state.BlockState extrusionResult, net.minecraft.core.Direction movementDirection, float progress)
  • Method Details

    • gatherModelData

      protected net.neoforged.neoforge.client.model.data.ModelData.Builder gatherModelData(net.neoforged.neoforge.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.neoforged.neoforge.client.model.data.ModelData blockEntityData)
      Overrides:
      gatherModelData 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.neoforged.neoforge.client.model.data.ModelData wrappedData, net.minecraft.client.renderer.RenderType renderType)
      Specified by:
      getCroppedQuads in class com.simibubi.create.content.decoration.copycat.CopycatModel
    • scale

      public static int[] scale(int[] vertexData, float factor)