java.lang.Object
com.codinglitch.simpleradio.client.core.registry.SimpleRadioModels.LocationHolder
com.codinglitch.simpleradio.client.core.registry.models.ModuleModel
All Implemented Interfaces:
net.fabricmc.fabric.api.renderer.v1.model.FabricBakedModel, net.minecraft.client.resources.model.BakedModel

public class ModuleModel extends SimpleRadioModels.LocationHolder implements net.minecraft.client.resources.model.BakedModel
  • Field Summary

    Fields inherited from class com.codinglitch.simpleradio.client.core.registry.SimpleRadioModels.LocationHolder

    location
  • Constructor Summary

    Constructors
    Constructor
    Description
    ModuleModel(net.minecraft.client.resources.model.BakedModel baseModel)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.client.renderer.block.model.ItemOverrides
     
    net.minecraft.client.renderer.texture.TextureAtlasSprite
     
    List<net.minecraft.client.renderer.block.model.BakedQuad>
    getQuads(@Nullable net.minecraft.world.level.block.state.BlockState state, @Nullable net.minecraft.core.Direction direction, net.minecraft.util.RandomSource random)
     
    net.minecraft.client.renderer.block.model.ItemTransforms
     
    boolean
     
    boolean
     
    boolean
     
    boolean
     

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface net.fabricmc.fabric.api.renderer.v1.model.FabricBakedModel

    emitBlockQuads, emitItemQuads, isVanillaAdapter
  • Constructor Details

    • ModuleModel

      public ModuleModel(net.minecraft.client.resources.model.BakedModel baseModel)
  • Method Details

    • getQuads

      public List<net.minecraft.client.renderer.block.model.BakedQuad> getQuads(@Nullable @Nullable net.minecraft.world.level.block.state.BlockState state, @Nullable @Nullable net.minecraft.core.Direction direction, net.minecraft.util.RandomSource random)
      Specified by:
      getQuads in interface net.minecraft.client.resources.model.BakedModel
    • getOverrides

      public net.minecraft.client.renderer.block.model.ItemOverrides getOverrides()
      Specified by:
      getOverrides in interface net.minecraft.client.resources.model.BakedModel
    • useAmbientOcclusion

      public boolean useAmbientOcclusion()
      Specified by:
      useAmbientOcclusion in interface net.minecraft.client.resources.model.BakedModel
    • isGui3d

      public boolean isGui3d()
      Specified by:
      isGui3d in interface net.minecraft.client.resources.model.BakedModel
    • usesBlockLight

      public boolean usesBlockLight()
      Specified by:
      usesBlockLight in interface net.minecraft.client.resources.model.BakedModel
    • isCustomRenderer

      public boolean isCustomRenderer()
      Specified by:
      isCustomRenderer in interface net.minecraft.client.resources.model.BakedModel
    • getParticleIcon

      public net.minecraft.client.renderer.texture.TextureAtlasSprite getParticleIcon()
      Specified by:
      getParticleIcon in interface net.minecraft.client.resources.model.BakedModel
    • getTransforms

      public net.minecraft.client.renderer.block.model.ItemTransforms getTransforms()
      Specified by:
      getTransforms in interface net.minecraft.client.resources.model.BakedModel