Class CompositeUnbakedGeometry

java.lang.Object
net.neoforged.neoforge.client.model.CompositeUnbakedGeometry
All Implemented Interfaces:
net.minecraft.client.resources.model.UnbakedGeometry, UnbakedGeometryExtension, ExtendedUnbakedGeometry

public class CompositeUnbakedGeometry extends Object implements ExtendedUnbakedGeometry
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (package private) final com.google.common.collect.ImmutableMap<String,com.mojang.datafixers.util.Either<net.minecraft.resources.ResourceLocation,net.minecraft.client.resources.model.UnbakedModel>>
     

    Fields inherited from interface net.minecraft.client.resources.model.UnbakedGeometry

    EMPTY
  • Constructor Summary

    Constructors
    Constructor
    Description
    CompositeUnbakedGeometry(com.google.common.collect.ImmutableMap<String,com.mojang.datafixers.util.Either<net.minecraft.resources.ResourceLocation,net.minecraft.client.resources.model.UnbakedModel>> children)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.client.resources.model.QuadCollection
    bake(net.minecraft.client.renderer.block.model.TextureSlots textureSlots, net.minecraft.client.resources.model.ModelBaker baker, net.minecraft.client.resources.model.ModelState state, net.minecraft.client.resources.model.ModelDebugName debugName, net.minecraft.util.context.ContextMap additionalProperties)
    Version of UnbakedGeometry.bake(TextureSlots, ModelBaker, ModelState, ModelDebugName) that also receives additional properties sourced from UnbakedModelExtension.fillAdditionalProperties(net.minecraft.util.context.ContextMap.Builder).

    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.model.ExtendedUnbakedGeometry

    bake
  • Field Details

    • children

      final com.google.common.collect.ImmutableMap<String,com.mojang.datafixers.util.Either<net.minecraft.resources.ResourceLocation,net.minecraft.client.resources.model.UnbakedModel>> children
  • Constructor Details

    • CompositeUnbakedGeometry

      public CompositeUnbakedGeometry(com.google.common.collect.ImmutableMap<String,com.mojang.datafixers.util.Either<net.minecraft.resources.ResourceLocation,net.minecraft.client.resources.model.UnbakedModel>> children)
  • Method Details