When trying to use Forge 1.13.2 there is no version.json within the universal jar
Is this because of the forge rewrite that is going on and this file is no longer going to be included or is it because the builds are still beta?
I am trying to update my mod from Minecraft 1.8 to 1.10.2
The issue I am having is my mod added a crafting recipe for spawn eggs however in either 1.9 or 1.10 Mojang changed how spawn eggs work, giving them NBT data instead of using damage values.
Could anyone help me make this change as I have never used NBT before
Example code:
I am trying to setup a Minecraft Forge instance for 1.10.2 however crash on task ':decompileMc'
And with --stacktrace
Could anyone tell me whats going wrong here and how to fix it.
Thanks
untamemadman
When I run the command gradlew setupdecompworkspace
I get the following error:
I got the same thing with both the 1.9.4 mdk and the new 1.10 mdk
Could someone help me?
Does anyone know how to make an item available only on certain days f the year?
For example:
if day = 25/12 then (register crafting recipe) else continue loading the rest of mod
My code is:
@Override
public void onArmorTick(World world, EntityPlayer player, ItemStack armor)
{
if(!world.isRemote)
{
player.addPotionEffect(new PotionEffect(Potion.nightVision.id, 2, 1, true));
}
}
But the player still doesn't get night vision
I have this now:
@Override
public void onArmorTick(World world, EntityPlayer player, ItemStack armor)
{
if(world.isRemote == true)
{
player.addPotionEffect(new PotionEffect(Potion.nightVision.id, 2, 1, true));
}
}
Can you tell me if that is done correctly?