Skip to content

Commit

Permalink
Update Regilite.java
Browse files Browse the repository at this point in the history
  • Loading branch information
ferriarnus committed Feb 29, 2024
1 parent 9acf28e commit f0b5994
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/main/java/com/enderio/regilite/Regilite.java
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,17 @@ public Regilite(String modid) {
public void register(IEventBus modbus) {
dataProvider.register(modbus);

modbus.addListener(new ItemCapabilityEvents(this)::registerCapabilities);

modbus.addListener(new BlockEntityCapabilityEvents(this)::registerCapabilities);

if (FMLEnvironment.dist.isClient()) {
modbus.addListener(new ColorEvents.Blocks(this)::registerBlockColor);

modbus.addListener(new ColorEvents.Items(this)::registerItemColor);
modbus.addListener(new ItemCapabilityEvents(this)::registerCapabilities);
modbus.addListener(this::addCreative);

modbus.addListener(new BlockEntityRendererEvents(this)::registerBER);
modbus.addListener(new BlockEntityCapabilityEvents(this)::registerCapabilities);

modbus.addListener(new FluidRenderTypeEvents(this)::registerRenderTypes);

Expand Down

0 comments on commit f0b5994

Please sign in to comment.