You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: fabric-object-builder-api-v1/src/main/java/net/fabricmc/fabric/mixin/object/builder/TypeAwareTradeMixin.java
Copy file name to clipboardexpand all lines: fabric-object-builder-api-v1/src/testmod/java/net/fabricmc/fabric/test/object/builder/SimpleTradeFactory.java
Copy file name to clipboardexpand all lines: fabric-object-builder-api-v1/src/testmod/java/net/fabricmc/fabric/test/object/builder/VillagerTypeTest1.java
* When true, signals renderer this producer is implemented through {@link BakedModel#getQuads(BlockState, net.minecraft.util.math.Direction, Random)}.
45
+
* When true, signals renderer this producer is implemented through {@link BakedModel#getQuads(BlockState, net.minecraft.util.math.Direction, AbstractRandom)}.
46
46
* Also means the model does not rely on any non-vanilla features.
47
47
* Allows the renderer to optimize or route vanilla models through the unmodified vanilla pipeline if desired.
48
48
*
@@ -64,7 +64,7 @@ public interface FabricBakedModel {
64
64
* <p>Also called to render block models outside of chunk rebuild or block entity rendering.
65
65
* Typically this happens when the block is being rendered as an entity, not as a block placed in the world.
66
66
* Currently this happens for falling blocks and blocks being pushed by a piston, but renderers
67
-
* should invoke this for all calls to {@link BlockModelRenderer#render(BlockRenderView, BakedModel, BlockState, BlockPos, MatrixStack, VertexConsumer, boolean, Random, long, int)}
67
+
* should invoke this for all calls to {@link BlockModelRenderer#render(BlockRenderView, BakedModel, BlockState, BlockPos, MatrixStack, VertexConsumer, boolean, AbstractRandom, long, int)}
68
68
* that occur outside of chunk rebuilds to allow for features added by mods, unless
69
69
* {@link #isVanillaAdapter()} returns true.
70
70
*
@@ -78,7 +78,7 @@ public interface FabricBakedModel {
78
78
* neighboring blocks (if appropriate). Models only need to consider "sides" to the
79
79
* extent the model is driven by connection with neighbor blocks or other world state.
80
80
*
81
-
* <p>Note: with {@link BakedModel#getQuads(BlockState, net.minecraft.util.math.Direction, Random)}, the random
81
+
* <p>Note: with {@link BakedModel#getQuads(BlockState, net.minecraft.util.math.Direction, AbstractRandom)}, the random
82
82
* parameter is normally initialized with the same seed prior to each face layer.
83
83
* Model authors should note this method is called only once per block, and call the provided
84
84
* Random supplier multiple times if re-seeding is necessary. For wrapped vanilla baked models,
@@ -94,7 +94,7 @@ public interface FabricBakedModel {
94
94
* Will not be thread-safe. Do not cache or retain a reference.
Copy file name to clipboardexpand all lines: fabric-renderer-api-v1/src/main/java/net/fabricmc/fabric/mixin/renderer/client/MixinMultipartBakedModel.java
Copy file name to clipboardexpand all lines: fabric-renderer-api-v1/src/main/java/net/fabricmc/fabric/mixin/renderer/client/MixinWeightedBakedModel.java
0 commit comments