Storage blocks got their textures

This commit is contained in:
drcrazy 2019-03-05 17:27:28 +03:00
parent a4d9401040
commit d29eb5706d
111 changed files with 404 additions and 16 deletions

View file

@ -24,9 +24,11 @@
package techreborn;
import net.minecraft.block.Block;
import net.minecraft.block.BlockDispenser;
import net.minecraft.item.ItemGroup;
import net.minecraft.item.ItemStack;
import net.minecraftforge.api.distmarker.Dist;
import net.minecraftforge.api.distmarker.OnlyIn;
import net.minecraftforge.common.MinecraftForge;
@ -34,7 +36,10 @@ import net.minecraftforge.eventbus.api.IEventBus;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.common.registry.VillagerRegistry;
import net.minecraftforge.fml.event.lifecycle.FMLCommonSetupEvent;
import net.minecraftforge.fml.event.lifecycle.FMLLoadCompleteEvent;
import net.minecraftforge.fml.javafmlmod.FMLJavaModLoadingContext;
import net.minecraftforge.registries.ForgeRegistries;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import reborncore.api.recipe.RecipeHandler;
@ -76,8 +81,9 @@ public class TechReborn {
public TechReborn() {
IEventBus eventBus = FMLJavaModLoadingContext.get().getModEventBus();
eventBus.addListener(this::setup);
eventBus.addListener(this::loadComplete);
}
private void setup(FMLCommonSetupEvent event) {
MinecraftForge.EVENT_BUS.register(this);
INSTANCE = this;
@ -129,19 +135,9 @@ public class TechReborn {
Torus.genSizeMap(TileFusionControlComputer.maxCoilSize);
LOGGER.info("TechReborn setup done!");
}
public void postinit() {
proxy.postInit();
ModRecipes.postInit();
LOGGER.debug(RecipeHandler.recipeList.size() + " recipes loaded");
// RecipeHandler.scanForDupeRecipes();
// RecipeConfigManager.save();
//recipeCompact.saveMissingItems(configDir);
private void loadComplete(FMLLoadCompleteEvent event) {
//todo: remove, gens localization
// for (Item item : ForgeRegistries.ITEMS.getValues()) {
// if (item.getRegistryName().getNamespace().equals("techreborn")) {
@ -158,6 +154,7 @@ public class TechReborn {
// System.out.println("item.techreborn." + item.getRegistryName().getPath() + ".name=" + localName);
// }
// }
// for (Block item : ForgeRegistries.BLOCKS.getValues()) {
// if (item.getRegistryName().getNamespace().equals("techreborn")) {
// StringBuilder localName = new StringBuilder();
@ -167,12 +164,25 @@ public class TechReborn {
// if (localName.length() > 0) {
// localName.append(" ");
// }
// localName.append(StringUtils.toFirstCapital(word));
// localName.append(word);
// }
// }
// System.out.println("tile.techreborn." + item.getRegistryName().getPath() + ".name=" + localName);
// System.out.println(item.getRegistryName().getPath());
// }
// }
}
public void postinit() {
proxy.postInit();
ModRecipes.postInit();
LOGGER.debug(RecipeHandler.recipeList.size() + " recipes loaded");
// RecipeHandler.scanForDupeRecipes();
// RecipeConfigManager.save();
//recipeCompact.saveMissingItems(configDir);
}
}

View file

@ -0,0 +1,5 @@
{
"variants": {
"": { "model": "techreborn:block/storage/aluminum_storage_block" }
}
}

View file

@ -0,0 +1,5 @@
{
"variants": {
"": { "model": "techreborn:block/storage/brass_storage_block" }
}
}

View file

@ -0,0 +1,5 @@
{
"variants": {
"": { "model": "techreborn:block/storage/bronze_storage_block" }
}
}

View file

@ -0,0 +1,5 @@
{
"variants": {
"": { "model": "techreborn:block/storage/chrome_storage_block" }
}
}

View file

@ -0,0 +1,5 @@
{
"variants": {
"": { "model": "techreborn:block/storage/copper_storage_block" }
}
}

View file

@ -0,0 +1,5 @@
{
"variants": {
"": { "model": "techreborn:block/storage/electrum_storage_block" }
}
}

View file

@ -0,0 +1,5 @@
{
"variants": {
"": { "model": "techreborn:block/storage/invar_storage_block" }
}
}

View file

@ -0,0 +1,5 @@
{
"variants": {
"": { "model": "techreborn:block/storage/iridium_reinforced_stone_storage_block" }
}
}

View file

@ -0,0 +1,5 @@
{
"variants": {
"": { "model": "techreborn:block/storage/iridium_reinforced_tungstensteel_storage_block" }
}
}

View file

@ -0,0 +1,5 @@
{
"variants": {
"": { "model": "techreborn:block/storage/iridium_storage_block" }
}
}

View file

@ -0,0 +1,5 @@
{
"variants": {
"": { "model": "techreborn:block/storage/lead_storage_block" }
}
}

View file

@ -0,0 +1,5 @@
{
"variants": {
"": { "model": "techreborn:block/storage/nickel_storage_block" }
}
}

View file

@ -0,0 +1,5 @@
{
"variants": {
"": { "model": "techreborn:block/storage/osmium_storage_block" }
}
}

View file

@ -0,0 +1,5 @@
{
"variants": {
"": { "model": "techreborn:block/storage/peridot_storage_block" }
}
}

View file

@ -0,0 +1,5 @@
{
"variants": {
"": { "model": "techreborn:block/storage/platinum_storage_block" }
}
}

View file

@ -0,0 +1,5 @@
{
"variants": {
"": { "model": "techreborn:block/storage/red_garnet_storage_block" }
}
}

View file

@ -0,0 +1,5 @@
{
"variants": {
"": { "model": "techreborn:block/storage/refined_iron_storage_block" }
}
}

View file

@ -0,0 +1,5 @@
{
"variants": {
"": { "model": "techreborn:block/storage/ruby_storage_block" }
}
}

View file

@ -0,0 +1,5 @@
{
"variants": {
"": { "model": "techreborn:block/storage/sapphire_storage_block" }
}
}

View file

@ -0,0 +1,5 @@
{
"variants": {
"": { "model": "techreborn:block/storage/silver_storage_block" }
}
}

View file

@ -0,0 +1,5 @@
{
"variants": {
"": { "model": "techreborn:block/storage/steel_storage_block" }
}
}

View file

@ -0,0 +1,5 @@
{
"variants": {
"": { "model": "techreborn:block/storage/tin_storage_block" }
}
}

View file

@ -0,0 +1,5 @@
{
"variants": {
"": { "model": "techreborn:block/storage/titanium_storage_block" }
}
}

View file

@ -0,0 +1,5 @@
{
"variants": {
"": { "model": "techreborn:block/storage/tungsten_storage_block" }
}
}

View file

@ -0,0 +1,5 @@
{
"variants": {
"": { "model": "techreborn:block/storage/tungstensteel_storage_block" }
}
}

View file

@ -0,0 +1,5 @@
{
"variants": {
"": { "model": "techreborn:block/storage/yellow_garnet_storage_block" }
}
}

View file

@ -0,0 +1,5 @@
{
"variants": {
"": { "model": "techreborn:block/storage/zinc_storage_block" }
}
}

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "techreborn:block/storage/aluminum_storage_block"
}
}

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "techreborn:block/storage/brass_storage_block"
}
}

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "techreborn:block/storage/bronze_storage_block"
}
}

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "techreborn:block/storage/chrome_storage_block"
}
}

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "techreborn:block/storage/copper_storage_block"
}
}

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "techreborn:block/storage/electrum_storage_block"
}
}

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "techreborn:block/storage/invar_storage_block"
}
}

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "techreborn:block/storage/iridium_reinforced_stone_storage_block"
}
}

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "techreborn:block/storage/iridium_reinforced_tungstensteel_storage_block"
}
}

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "techreborn:block/storage/iridium_storage_block"
}
}

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "techreborn:block/storage/lead_storage_block"
}
}

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "techreborn:block/storage/nickel_storage_block"
}
}

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "techreborn:block/storage/osmium_storage_block"
}
}

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "techreborn:block/storage/peridot_storage_block"
}
}

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "techreborn:block/storage/platinum_storage_block"
}
}

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "techreborn:block/storage/red_garnet_storage_block"
}
}

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "techreborn:block/storage/refined_iron_storage_block"
}
}

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "techreborn:block/storage/ruby_storage_block"
}
}

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "techreborn:block/storage/sapphire_storage_block"
}
}

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "techreborn:block/storage/silver_storage_block"
}
}

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "techreborn:block/storage/steel_storage_block"
}
}

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "techreborn:block/storage/tin_storage_block"
}
}

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "techreborn:block/storage/titanium_storage_block"
}
}

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "techreborn:block/storage/tungsten_storage_block"
}
}

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "techreborn:block/storage/tungstensteel_storage_block"
}
}

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "techreborn:block/storage/yellow_garnet_storage_block"
}
}

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "techreborn:block/storage/zinc_storage_block"
}
}

View file

@ -0,0 +1,3 @@
{
"parent": "techreborn:block/storage/aluminum_storage_block"
}

View file

@ -0,0 +1,3 @@
{
"parent": "techreborn:block/storage/brass_storage_block"
}

View file

@ -0,0 +1,3 @@
{
"parent": "techreborn:block/storage/bronze_storage_block"
}

View file

@ -0,0 +1,3 @@
{
"parent": "techreborn:block/storage/chrome_storage_block"
}

View file

@ -0,0 +1,3 @@
{
"parent": "techreborn:block/storage/copper_storage_block"
}

View file

@ -0,0 +1,3 @@
{
"parent": "techreborn:block/storage/electrum_storage_block"
}

View file

@ -0,0 +1,3 @@
{
"parent": "techreborn:block/storage/invar_storage_block"
}

View file

@ -0,0 +1,3 @@
{
"parent": "techreborn:block/storage/iridium_reinforced_stone_storage_block"
}

View file

@ -0,0 +1,3 @@
{
"parent": "techreborn:block/storage/iridium_reinforced_tungstensteel_storage_block"
}

View file

@ -0,0 +1,3 @@
{
"parent": "techreborn:block/storage/iridium_storage_block"
}

View file

@ -0,0 +1,3 @@
{
"parent": "techreborn:block/storage/lead_storage_block"
}

View file

@ -0,0 +1,3 @@
{
"parent": "techreborn:block/storage/nickel_storage_block"
}

View file

@ -0,0 +1,3 @@
{
"parent": "techreborn:block/storage/osmium_storage_block"
}

View file

@ -0,0 +1,3 @@
{
"parent": "techreborn:block/storage/peridot_storage_block"
}

View file

@ -0,0 +1,3 @@
{
"parent": "techreborn:block/storage/platinum_storage_block"
}

View file

@ -0,0 +1,3 @@
{
"parent": "techreborn:block/storage/red_garnet_storage_block"
}

View file

@ -0,0 +1,3 @@
{
"parent": "techreborn:block/storage/refined_iron_storage_block"
}

View file

@ -0,0 +1,3 @@
{
"parent": "techreborn:block/storage/ruby_storage_block"
}

View file

@ -0,0 +1,3 @@
{
"parent": "techreborn:block/storage/sapphire_storage_block"
}

View file

@ -0,0 +1,3 @@
{
"parent": "techreborn:block/storage/silver_storage_block"
}

View file

@ -0,0 +1,3 @@
{
"parent": "techreborn:block/storage/steel_storage_block"
}

View file

@ -0,0 +1,3 @@
{
"parent": "techreborn:block/storage/tin_storage_block"
}

View file

@ -0,0 +1,3 @@
{
"parent": "techreborn:block/storage/titanium_storage_block"
}

View file

@ -0,0 +1,3 @@
{
"parent": "techreborn:block/storage/tungsten_storage_block"
}

View file

@ -0,0 +1,3 @@
{
"parent": "techreborn:block/storage/tungstensteel_storage_block"
}

View file

@ -0,0 +1,3 @@
{
"parent": "techreborn:block/storage/yellow_garnet_storage_block"
}

View file

@ -0,0 +1,3 @@
{
"parent": "techreborn:block/storage/zinc_storage_block"
}

Some files were not shown because too many files have changed in this diff Show more