use of com.oitsjustjose.geolosys.common.world.capability.DepositCapProvider in project Geolosys by oitsjustjose.
the class Geolosys method attachCap.
@SubscribeEvent
public void attachCap(AttachCapabilitiesEvent<World> event) {
event.addCapability(new ResourceLocation(Constants.MODID, "pluton"), new DepositCapProvider());
String dimName = event.getObject().getDimensionKey().getLocation().toString();
LOGGER.info("Geolosys capability attached for {}", dimName);
}
Aggregations