Class ConnectingBakedModel
java.lang.Object
com.supermartijn642.fusion.model.WrappedBakedModel
com.supermartijn642.fusion.model.types.connecting.ConnectingBakedModel
- All Implemented Interfaces:
net.minecraft.client.resources.model.BakedModel,net.minecraftforge.client.extensions.IForgeBakedModel,net.minecraftforge.client.model.IDynamicBakedModel
Created 27/04/2023 by SuperMartijn642
-
Field Summary
Fields inherited from class com.supermartijn642.fusion.model.WrappedBakedModel
original -
Constructor Summary
ConstructorsConstructorDescriptionConnectingBakedModel(net.minecraft.client.resources.model.BakedModel original, com.mojang.math.Transformation modelRotation, List<ConnectionPredicate> predicates) -
Method Summary
Modifier and TypeMethodDescription@NotNull net.minecraftforge.client.model.data.ModelDatagetModelData(@NotNull net.minecraft.world.level.BlockAndTintGetter level, @NotNull net.minecraft.core.BlockPos pos, @NotNull net.minecraft.world.level.block.state.BlockState state, @NotNull net.minecraftforge.client.model.data.ModelData modelData) getModelData(net.minecraft.world.level.BlockAndTintGetter level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state) net.minecraft.client.renderer.block.model.ItemOverrides@NotNull List<net.minecraft.client.renderer.block.model.BakedQuad>getQuads(@Nullable net.minecraft.world.level.block.state.BlockState state, @Nullable net.minecraft.core.Direction side, @NotNull net.minecraft.util.RandomSource random, @NotNull net.minecraftforge.client.model.data.ModelData modelData, @Nullable net.minecraft.client.renderer.RenderType renderType) net.minecraft.client.renderer.block.model.ItemTransformsbooleanprotected net.minecraft.client.renderer.block.model.BakedQuadremapQuad(net.minecraft.client.renderer.block.model.BakedQuad quad, SurroundingBlockData surroundingBlocks) Methods inherited from class com.supermartijn642.fusion.model.WrappedBakedModel
getParticleIcon, isGui3d, useAmbientOcclusion, usesBlockLightMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraftforge.client.model.IDynamicBakedModel
getQuadsMethods inherited from interface net.minecraftforge.client.extensions.IForgeBakedModel
applyTransform, getParticleIcon, getRenderPasses, getRenderTypes, getRenderTypes, useAmbientOcclusion, useAmbientOcclusion
-
Constructor Details
-
ConnectingBakedModel
public ConnectingBakedModel(net.minecraft.client.resources.model.BakedModel original, com.mojang.math.Transformation modelRotation, List<ConnectionPredicate> predicates)
-
-
Method Details
-
getQuads
@NotNull public @NotNull 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 side, @NotNull @NotNull net.minecraft.util.RandomSource random, @NotNull @NotNull net.minecraftforge.client.model.data.ModelData modelData, @Nullable @Nullable net.minecraft.client.renderer.RenderType renderType) - Specified by:
getQuadsin interfacenet.minecraftforge.client.model.IDynamicBakedModel- Specified by:
getQuadsin interfacenet.minecraftforge.client.extensions.IForgeBakedModel- Overrides:
getQuadsin classWrappedBakedModel
-
remapQuad
protected net.minecraft.client.renderer.block.model.BakedQuad remapQuad(net.minecraft.client.renderer.block.model.BakedQuad quad, SurroundingBlockData surroundingBlocks) -
getModelData
public SurroundingBlockData getModelData(net.minecraft.world.level.BlockAndTintGetter level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state) -
getModelData
@NotNull public @NotNull net.minecraftforge.client.model.data.ModelData getModelData(@NotNull @NotNull net.minecraft.world.level.BlockAndTintGetter level, @NotNull @NotNull net.minecraft.core.BlockPos pos, @NotNull @NotNull net.minecraft.world.level.block.state.BlockState state, @NotNull @NotNull net.minecraftforge.client.model.data.ModelData modelData) -
isCustomRenderer
public boolean isCustomRenderer()- Specified by:
isCustomRendererin interfacenet.minecraft.client.resources.model.BakedModel- Overrides:
isCustomRendererin classWrappedBakedModel
-
getTransforms
public net.minecraft.client.renderer.block.model.ItemTransforms getTransforms()- Specified by:
getTransformsin interfacenet.minecraft.client.resources.model.BakedModel- Overrides:
getTransformsin classWrappedBakedModel
-
getOverrides
public net.minecraft.client.renderer.block.model.ItemOverrides getOverrides()- Specified by:
getOverridesin interfacenet.minecraft.client.resources.model.BakedModel- Overrides:
getOverridesin classWrappedBakedModel
-