Skip to content

Commit

Permalink
Fix missing method and update mcmod.info
Browse files Browse the repository at this point in the history
  • Loading branch information
Johann Bernhardt committed Nov 24, 2021
1 parent d5e6e20 commit f484211
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,12 @@
import mcp.mobius.waila.api.IWailaDataProvider;
import mods.natura.blocks.crops.CropBlock;
import net.minecraft.block.Block;
import net.minecraft.entity.player.EntityPlayerMP;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.StatCollector;
import net.minecraft.world.World;

public class NaturaCropDataProvider implements IWailaDataProvider {

Expand Down Expand Up @@ -58,4 +62,9 @@ public List<String> getWailaTail(ItemStack itemStack, List<String> currenttip, I
return currenttip;
}

@Override
public NBTTagCompound getNBTData(EntityPlayerMP player, TileEntity te, NBTTagCompound tag, World world, int x, int y, int z) {
return tag;
}

}
8 changes: 4 additions & 4 deletions src/main/resources/mcmod.info
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[
{
"modid": "Natura",
"name": "Natura",
"modid": "${modId}",
"name": "${modName}",
"description": "Heyo, Redwood trees! Chop them all day long!",
"version": "${version}",
"mcversion": "${mcversion}",
"version": "${modVersion}",
"mcversion": "${minecraftVersion}",
"url": "www.minecraftforum.net/topic/1753754-natura/",
"updateUrl": "",
"authors": [
Expand Down

0 comments on commit f484211

Please sign in to comment.