diff --git a/fabric-renderer-registries-v1/src/main/java/net/fabricmc/fabric/api/client/rendereregistry/v1/BlockEntityRendererRegistry.java b/fabric-renderer-registries-v1/src/main/java/net/fabricmc/fabric/api/client/rendereregistry/v1/BlockEntityRendererRegistry.java index 0c8109e5e..dbcc2cc03 100644 --- a/fabric-renderer-registries-v1/src/main/java/net/fabricmc/fabric/api/client/rendereregistry/v1/BlockEntityRendererRegistry.java +++ b/fabric-renderer-registries-v1/src/main/java/net/fabricmc/fabric/api/client/rendereregistry/v1/BlockEntityRendererRegistry.java @@ -40,5 +40,5 @@ public interface BlockEntityRendererRegistry { * class is already loaded * @param the {@link BlockEntity} */ - void register(BlockEntityType blockEntityType, Function> blockEntityRenderer); + void register(BlockEntityType blockEntityType, Function> blockEntityRenderer); } diff --git a/fabric-renderer-registries-v1/src/main/java/net/fabricmc/fabric/impl/client/renderer/registry/BlockEntityRendererRegistryImpl.java b/fabric-renderer-registries-v1/src/main/java/net/fabricmc/fabric/impl/client/renderer/registry/BlockEntityRendererRegistryImpl.java index 092c24eb4..8aa81659a 100644 --- a/fabric-renderer-registries-v1/src/main/java/net/fabricmc/fabric/impl/client/renderer/registry/BlockEntityRendererRegistryImpl.java +++ b/fabric-renderer-registries-v1/src/main/java/net/fabricmc/fabric/impl/client/renderer/registry/BlockEntityRendererRegistryImpl.java @@ -32,7 +32,7 @@ public class BlockEntityRendererRegistryImpl implements BlockEntityRendererRegis private static BiConsumer, Function>> handler = (type, function) -> map.put(type, function); @Override - public void register(BlockEntityType blockEntityType, Function> blockEntityRenderer) { + public void register(BlockEntityType blockEntityType, Function> blockEntityRenderer) { handler.accept(blockEntityType, blockEntityRenderer); }