Skip to content

Commit

Permalink
Remove unused fluid registry
Browse files Browse the repository at this point in the history
  • Loading branch information
WenXin20 committed Jun 13, 2024
1 parent 078e09c commit 18581a6
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/main/java/com/wenxin2/warp_pipes/WarpPipes.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ public class WarpPipes
// Create a Deferred Register to hold blocks/items which will all be registered under the "warp_pipes" namespace
public static final DeferredRegister.Blocks BLOCKS = DeferredRegister.createBlocks(MODID);
public static final DeferredRegister.Items ITEMS = DeferredRegister.createItems(MODID);
// public static final DeferredRegister<Fluid> FLUIDS = DeferredRegister.create(Registries.FLUID, MODID);
// public static final DeferredRegister<FluidType> FLUID_TYPES = DeferredRegister.create(NeoForgeRegistries.FLUID_TYPES, MODID);

public static final DeferredRegister<BlockEntityType<?>> BLOCK_ENTITIES = DeferredRegister.create(Registries.BLOCK_ENTITY_TYPE, WarpPipes.MODID);
public static final DeferredRegister<MenuType<?>> MENUS = DeferredRegister.create(Registries.MENU, WarpPipes.MODID);
Expand All @@ -46,8 +44,6 @@ public WarpPipes(IEventBus bus, Dist dist)
// Register the Deferred Register to the mod event bus so blocks/items get registered
BLOCKS.register(bus);
ITEMS.register(bus);
// FLUIDS.register(bus);
// FLUID_TYPES.register(bus);
BLOCK_ENTITIES.register(bus);
MENUS.register(bus);
SOUNDS.register(bus);
Expand All @@ -59,7 +55,7 @@ public WarpPipes(IEventBus bus, Dist dist)
if (dist.isClient())
bus.addListener(ClientSetupHandler::registerBlockEntityRenderers);

WarpEventHandlers.register();
// WarpEventHandlers.register();
// PipeBubblesSoundHandler.init();

ModLoadingContext.get().registerConfig(ModConfig.Type.COMMON, Config.CONFIG);
Expand Down

0 comments on commit 18581a6

Please sign in to comment.