This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package ru.atheria.audio; | |
import net.minecraft.client.audio.PositionedSoundRecord; | |
import net.minecraft.util.ResourceLocation; | |
public class AMuses { | |
public static final Mus[] muses = new Mus[0xFF]; | |
public static void register() { | |
add("after_great_war", 0); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package ru.atheria.audio; | |
import net.minecraft.client.audio.PositionedSoundRecord; | |
import net.minecraft.util.ResourceLocation; | |
public class AMuses { | |
public static final Mus[] muses = new Mus[0xFF]; | |
public static void register() { | |
add("after_great_war", 0); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NBTTagCompound nbt3 = new NBTTagCompound(); | |
nbt3.setString("seed", Item.itemRegistry.getNameForObject(Item.getItemFromBlock(BOPCBlocks.foliage))); | |
nbt3.setString("crop", Block.blockRegistry.getNameForObject(BOPCBlocks.foliage)); | |
nbt3.setInteger("meta", 8); | |
FactoryRegistry.sendMessage("registerPlantable_Standard", nbt); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NBTTagCompound nbt3 = new NBTTagCompound(); | |
nbt3.setString("seed", Item.itemRegistry.getNameForObject(Item.getItemFromBlock(BOPCBlocks.foliage))); | |
nbt3.setString("crop", Block.blockRegistry.getNameForObject(BOPCBlocks.foliage)); | |
nbt3.setInteger("meta", 8); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NBTTagCompound nbt = new NBTTagCompound(); | |
nbt.setString("plant", Block.blockRegistry.getNameForObject(BOPCBlocks.saplings)); | |
nbt.setString("sapling", Block.blockRegistry.getNameForObject(BOPCBlocks.saplings)); | |
FactoryRegistry.sendMessage("registerFertilizable_Standard", nbt); | |
FactoryRegistry.sendMessage("registerPlantable_Sapling", nbt); | |
nbt.setString("plant", Block.blockRegistry.getNameForObject(BOPCBlocks.colorizedSaplings)); | |
nbt.setString("sapling", Block.blockRegistry.getNameForObject(BOPCBlocks.colorizedSaplings)); | |
FactoryRegistry.sendMessage("registerFertilizable_Standard", nbt); | |
FactoryRegistry.sendMessage("registerPlantable_Sapling", nbt); |