Skip to content

Commit

Permalink
3.0.0 version
Browse files Browse the repository at this point in the history
  • Loading branch information
LucunJi committed Aug 7, 2024
1 parent d7c61ef commit 46a698a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ public abstract class ImmediateMixin implements ImmediateMixinInterface {
@Override
public void extraPlayerRenderer$setForceDisableCulling(boolean disableCulling) { this.forceDisableCulling = disableCulling; }

// strangely, WrapMethod has no effect
@WrapOperation(method = "draw(Lnet/minecraft/client/render/RenderLayer;)V",
at = @At(value = "INVOKE", target = "Lnet/minecraft/client/render/VertexConsumerProvider$Immediate;draw(Lnet/minecraft/client/render/RenderLayer;Lnet/minecraft/client/render/BufferBuilder;)V"))
void disableCulling(VertexConsumerProvider.Immediate instance, RenderLayer layer, BufferBuilder builder, Operation<Void> original) {
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"schemaVersion": 1,
"id": "explayerenderer",
"version": "3.0.0-beta",
"version": "3.0.0",

"name": "ExtraPlayerRenderer",
"description": "Render an extra player figure on your screen. Made for game streaming and recordings.",
Expand Down

0 comments on commit 46a698a

Please sign in to comment.