java.lang.Object
org.cyclops.cyclopscore.client.model.DynamicBaseModel
org.cyclops.cyclopscore.client.model.DynamicItemAndBlockModel
org.cyclops.cyclopscore.client.model.DelegatingDynamicItemAndBlockModel
org.cyclops.cyclopscore.client.model.DelegatingChildDynamicItemAndBlockModel
org.cyclops.integrateddynamics.client.render.model.FacadeModel
All Implemented Interfaces:
net.minecraft.client.resources.model.BakedModel, net.neoforged.neoforge.client.extensions.IBakedModelExtension

public class FacadeModel extends org.cyclops.cyclopscore.client.model.DelegatingChildDynamicItemAndBlockModel
Dynamic model for facade items.
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.cyclops.cyclopscore.client.model.DynamicItemAndBlockModel

    org.cyclops.cyclopscore.client.model.DynamicItemAndBlockModel.ItemOverridesInner
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static net.minecraft.client.resources.model.BakedModel
     

    Fields inherited from class org.cyclops.cyclopscore.client.model.DelegatingChildDynamicItemAndBlockModel

    baseModel

    Fields inherited from class org.cyclops.cyclopscore.client.model.DelegatingDynamicItemAndBlockModel

    blockState, entity, facing, itemStack, modelData, rand, renderType, world

    Fields inherited from class org.cyclops.cyclopscore.client.model.DynamicBaseModel

    ROTATION_FIX, ROTATION_UV, UVS
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    FacadeModel(net.minecraft.client.resources.model.BakedModel baseModel)
     
    FacadeModel(net.minecraft.client.resources.model.BakedModel baseModel, net.minecraft.world.item.ItemStack itemStack, net.minecraft.world.level.Level world, net.minecraft.world.entity.LivingEntity entity)
     
    FacadeModel(net.minecraft.client.resources.model.BakedModel baseModel, net.minecraft.world.level.block.state.BlockState blockState, net.minecraft.core.Direction facing, net.minecraft.util.RandomSource rand, net.neoforged.neoforge.client.model.data.ModelData modelData, net.minecraft.client.renderer.RenderType renderType)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    List<net.minecraft.client.renderer.block.model.BakedQuad>
     
    net.minecraft.client.renderer.texture.TextureAtlasSprite
     
    net.minecraft.client.renderer.block.model.ItemTransforms
     
    net.minecraft.client.resources.model.BakedModel
    handleBlockState(net.minecraft.world.level.block.state.BlockState blockState, net.minecraft.core.Direction direction, net.minecraft.util.RandomSource random, net.neoforged.neoforge.client.model.data.ModelData iModelData, net.minecraft.client.renderer.RenderType renderType)
     
    net.minecraft.client.resources.model.BakedModel
    handleItemState(net.minecraft.world.item.ItemStack itemStack, net.minecraft.world.level.Level world, net.minecraft.world.entity.LivingEntity entity)
     
    boolean
     

    Methods inherited from class org.cyclops.cyclopscore.client.model.DynamicItemAndBlockModel

    getOverrides, getQuads, getQuads, getRenderingSide, isItemStack

    Methods inherited from class org.cyclops.cyclopscore.client.model.DynamicBaseModel

    addBakedQuad, addBakedQuad, addBakedQuadRotated, addBakedQuadRotated, addColoredBakedQuad, addColoredBakedQuad, isCustomRenderer, isGui3d, revRotate, rotate, useAmbientOcclusion, vertexToInts

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface net.neoforged.neoforge.client.extensions.IBakedModelExtension

    applyTransform, getModelData, getParticleIcon, getRenderPasses, getRenderTypes, getRenderTypes, useAmbientOcclusion
  • Field Details

    • emptyModel

      public static net.minecraft.client.resources.model.BakedModel emptyModel
  • Constructor Details

    • FacadeModel

      public FacadeModel()
    • FacadeModel

      public FacadeModel(net.minecraft.client.resources.model.BakedModel baseModel)
    • FacadeModel

      public FacadeModel(net.minecraft.client.resources.model.BakedModel baseModel, net.minecraft.world.level.block.state.BlockState blockState, net.minecraft.core.Direction facing, net.minecraft.util.RandomSource rand, net.neoforged.neoforge.client.model.data.ModelData modelData, net.minecraft.client.renderer.RenderType renderType)
    • FacadeModel

      public FacadeModel(net.minecraft.client.resources.model.BakedModel baseModel, net.minecraft.world.item.ItemStack itemStack, net.minecraft.world.level.Level world, net.minecraft.world.entity.LivingEntity entity)
  • Method Details

    • getGeneralQuads

      public List<net.minecraft.client.renderer.block.model.BakedQuad> getGeneralQuads()
      Overrides:
      getGeneralQuads in class org.cyclops.cyclopscore.client.model.DynamicItemAndBlockModel
    • handleBlockState

      public net.minecraft.client.resources.model.BakedModel handleBlockState(@Nullable net.minecraft.world.level.block.state.BlockState blockState, @Nullable net.minecraft.core.Direction direction, @Nonnull net.minecraft.util.RandomSource random, @Nonnull net.neoforged.neoforge.client.model.data.ModelData iModelData, @Nullable net.minecraft.client.renderer.RenderType renderType)
      Specified by:
      handleBlockState in class org.cyclops.cyclopscore.client.model.DynamicItemAndBlockModel
    • handleItemState

      public net.minecraft.client.resources.model.BakedModel handleItemState(net.minecraft.world.item.ItemStack itemStack, net.minecraft.world.level.Level world, net.minecraft.world.entity.LivingEntity entity)
      Specified by:
      handleItemState in class org.cyclops.cyclopscore.client.model.DynamicItemAndBlockModel
    • getParticleIcon

      public net.minecraft.client.renderer.texture.TextureAtlasSprite getParticleIcon()
    • usesBlockLight

      public boolean usesBlockLight()
    • getTransforms

      public net.minecraft.client.renderer.block.model.ItemTransforms getTransforms()