diff --git a/src/main/java/com/jozufozu/flywheel/backend/instancing/InstancedRenderRegistry.java b/src/main/java/com/jozufozu/flywheel/backend/instancing/InstancedRenderRegistry.java index 2be5996ac..78f8f2c4b 100644 --- a/src/main/java/com/jozufozu/flywheel/backend/instancing/InstancedRenderRegistry.java +++ b/src/main/java/com/jozufozu/flywheel/backend/instancing/InstancedRenderRegistry.java @@ -56,6 +56,26 @@ public class InstancedRenderRegistry { return new EntityConfig<>(type); } + /** + * @deprecated will be removed in 0.2.0, use {@link #tile} + */ + @Deprecated + public void register(TileEntityType type, ITileInstanceFactory rendererFactory) { + this.tile(type) + .factory(rendererFactory) + .register(); + } + + /** + * @deprecated will be removed in 0.2.0, use {@link #entity} + */ + @Deprecated + public void register(EntityType type, IEntityInstanceFactory rendererFactory) { + this.entity(type) + .factory(rendererFactory) + .register(); + } + @SuppressWarnings("unchecked") @Nullable public TileEntityInstance create(MaterialManager manager, T tile) {