Skip to content
This repository was archived by the owner on Jun 3, 2024. It is now read-only.

Commit ccbaadd

Browse files
committed
Fix issue #188 and rectify some fabric.mod.json problems
1 parent 5602298 commit ccbaadd

9 files changed

Lines changed: 8 additions & 121 deletions

File tree

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
archivesBaseName = "patchwork-extensions-blockentity"
2-
version = getSubprojectVersion(project, "0.1.0")
2+
version = getSubprojectVersion(project, "0.1.1")
33

44
dependencies {
5-
compile project(path: ':patchwork-capabilities', configuration: 'dev')
5+
implementation project(path: ':patchwork-api-base', configuration: 'dev')
6+
implementation project(path: ':patchwork-capabilities', configuration: 'dev')
67
}

patchwork-extensions-blockentity/src/main/java/net/patchworkmc/impl/extensions/blockentity/ForgeBlockEntityRenderDispatcher.java

Lines changed: 0 additions & 30 deletions
This file was deleted.

patchwork-extensions-blockentity/src/main/java/net/patchworkmc/mixin/extensions/blockentity/MixinBlockEntityRenderDispatcher.java

Lines changed: 0 additions & 43 deletions
This file was deleted.

patchwork-extensions-blockentity/src/main/resources/fabric.mod.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
"license": "LGPL-2.1-only",
1212
"environment": "*",
1313
"depends": {
14-
"fabricloader": ">=0.8.4"
14+
"patchwork-api-base": "*",
15+
"patchwork-capabilities": "*"
1516
},
1617
"mixins": [
1718
"patchwork-extensions-blockentity.mixins.json"

patchwork-extensions-blockentity/src/main/resources/patchwork-extensions-blockentity.mixins.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
],
99
"client": [
1010
"MixinClientPlayNetworkHandler",
11-
"MixinBlockEntityRenderDispatcher",
1211
"MixinBlockEntityRenderer",
1312
"MixinWorldRenderer"
1413
],

patchwork-god-classes/build.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ dependencies {
1111
implementation project(path: ':patchwork-events-rendering', configuration: 'dev')
1212
implementation project(path: ':patchwork-events-world', configuration: 'dev')
1313
implementation project(path: ':patchwork-extensions-block', configuration: 'dev')
14-
implementation project(path: ':patchwork-extensions-blockentity', configuration: 'dev')
1514
implementation project(path: ':patchwork-extensions-item', configuration: 'dev')
1615
implementation project(path: ':patchwork-loot', configuration: 'dev')
1716
implementation project(path: ':patchwork-networking', configuration: 'dev')

patchwork-god-classes/src/main/java/net/minecraftforge/fml/client/registry/ClientRegistry.java

Lines changed: 0 additions & 40 deletions
This file was deleted.

patchwork-god-classes/src/main/resources/fabric.mod.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@
2525
"patchwork-events-world": "*",
2626
"patchwork-extensions-block": "*",
2727
"patchwork-extensions-item": "*",
28-
"patchwork-loot": "*"
28+
"patchwork-loot": "*",
29+
"patchwork-networking": "*"
2930
},
3031
"custom": {
3132
"modmenu:api": true,

patchwork-registries/src/main/java/net/minecraftforge/fml/client/registry/ClientRegistry.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424

2525
import net.minecraft.block.entity.BlockEntity;
2626
import net.minecraft.client.options.KeyBinding;
27-
import net.minecraft.client.render.block.entity.BlockEntityRenderDispatcher;
2827
import net.minecraft.client.render.block.entity.BlockEntityRenderer;
2928
import net.minecraft.entity.Entity;
3029
import net.minecraft.util.Identifier;
@@ -44,7 +43,7 @@ public class ClientRegistry {
4443
*/
4544
public static synchronized <T extends BlockEntity> void bindTileEntitySpecialRenderer(Class<T> tileEntityClass, BlockEntityRenderer<? super T> specialRenderer) {
4645
BlockEntityRendererRegistry.INSTANCE.register(tileEntityClass, specialRenderer);
47-
specialRenderer.setRenderManager(BlockEntityRenderDispatcher.INSTANCE);
46+
// Done by Fabric API: specialRenderer.setRenderManager(BlockEntityRenderDispatcher.INSTANCE);
4847
}
4948

5049
/**

0 commit comments

Comments
 (0)