Fix bad rename
This commit is contained in:
parent
bb5a3e2647
commit
7433eb7630
6 changed files with 7 additions and 7 deletions
|
@ -132,7 +132,7 @@ public class Core {
|
|||
logHelper.info("PreInitialization Complete");
|
||||
}
|
||||
|
||||
@SubscribeEvent(priority = EventPriority.LOW)//LOW is used as we want it to tick as late as possible, but before crafttweaker
|
||||
@SubscribeEvent(priority = EventPriority.LOW)//LOW is used as we want it to load as late as possible, but before crafttweaker
|
||||
public void registerRecipes(RegistryEvent.Register<IRecipe> event) {
|
||||
//Register ModRecipes
|
||||
ModRecipes.init();
|
||||
|
@ -168,7 +168,7 @@ public class Core {
|
|||
//Village stuff
|
||||
VillagerRegistry.instance().registerVillageCreationHandler(new VillagePlantaionHandler());
|
||||
MapGenStructureIO.registerStructureComponent(VillageComponentRubberPlantaion.class, new ResourceLocation(ModInfo.MOD_ID, "rubberplantation").toString());
|
||||
ModLootTables.CHESTS_RUBBER_PLANTATION.toString(); //Done to make it tick, then it will be read from disk
|
||||
ModLootTables.CHESTS_RUBBER_PLANTATION.toString(); //Done to make it load, then it will be read from disk
|
||||
// Scrapbox
|
||||
if (BehaviorDispenseScrapbox.dispenseScrapboxes) {
|
||||
BlockDispenser.DISPENSE_BEHAVIOR_REGISTRY.putObject(ModItems.SCRAP_BOX, new BehaviorDispenseScrapbox());
|
||||
|
|
|
@ -29,7 +29,7 @@ import reborncore.common.registration.impl.ConfigRegistry;
|
|||
import techreborn.lib.ModInfo;
|
||||
|
||||
|
||||
//This is in its own class as not to tick the block class before
|
||||
//This is in its own class as not to load the block class before
|
||||
@RebornRegistry(modID = ModInfo.MOD_ID, priority = 1, earlyReg = true)
|
||||
public class OreBlockStateManager {
|
||||
//This is a one off config, dont worry about it
|
||||
|
|
|
@ -53,7 +53,7 @@ public class ModelHelper {
|
|||
|
||||
return ModelBlock.deserialize(getReaderForResource(location)).getAllTransforms();
|
||||
} catch (IOException exception) {
|
||||
Core.logHelper.warn("Can't tick resource " + location);
|
||||
Core.logHelper.warn("Can't load resource " + location);
|
||||
exception.printStackTrace();
|
||||
return null;
|
||||
}
|
||||
|
|
|
@ -73,7 +73,7 @@ public class IC2Module implements ICompatModule, IC2Helper {
|
|||
TechRebornAPI.ic2Helper = this;
|
||||
}
|
||||
|
||||
// LOW is used as we want it to tick as late as possible, but before crafttweaker
|
||||
// LOW is used as we want it to load as late as possible, but before crafttweaker
|
||||
@SubscribeEvent(priority = EventPriority.LOW)
|
||||
public void registerRecipes(RegistryEvent.Register<IRecipe> event) {
|
||||
recipeDuplicateList.add(new RecipeDuplicate(new ItemStack(ModBlocks.MACHINE_FRAMES, 1, 0),
|
||||
|
|
|
@ -60,7 +60,7 @@ public class TileCable extends TileEntity
|
|||
private ArrayList<EnumFacing> sendingFace = new ArrayList<EnumFacing>();
|
||||
int ticksSinceLastChange = 0;
|
||||
|
||||
//MC calls this during world tick. Keep it, please.
|
||||
//MC calls this during world load. Keep it, please.
|
||||
public TileCable() {
|
||||
super();
|
||||
}
|
||||
|
|
|
@ -138,7 +138,7 @@ public class TileSolarPanel extends TilePowerAcceptor implements IToolDrop {
|
|||
if(tag.hasKey("panelType")){
|
||||
panel = EnumPanelType.values()[tag.getInteger("panelType")];
|
||||
} else {
|
||||
Core.logHelper.warn("A solar panel has failed to tick from NBT, it will not work correctly. Please break and replace it to fix the issue. BlockPos:" + pos.toString());
|
||||
Core.logHelper.warn("A solar panel has failed to load from NBT, it will not work correctly. Please break and replace it to fix the issue. BlockPos:" + pos.toString());
|
||||
panel = EnumPanelType.Basic;
|
||||
}
|
||||
super.readFromNBT(tag);
|
||||
|
|
Loading…
Reference in a new issue