mirror of
https://github.com/Jozufozu/Flywheel.git
synced 2025-01-10 06:16:07 +01:00
18 lines
403 B
Java
18 lines
403 B
Java
|
package com.jozufozu.flywheel.vanilla;
|
||
|
|
||
|
import com.jozufozu.flywheel.backend.instancing.InstancedRenderRegistry;
|
||
|
|
||
|
import net.minecraft.tileentity.TileEntityType;
|
||
|
|
||
|
public class VanillaInstances {
|
||
|
|
||
|
public static void init() {
|
||
|
InstancedRenderRegistry r = InstancedRenderRegistry.getInstance();
|
||
|
|
||
|
r.tile(TileEntityType.CHEST)
|
||
|
.setSkipRender(true)
|
||
|
.factory(ChestInstance::new)
|
||
|
.build();
|
||
|
}
|
||
|
}
|