Skip to content

Commit

Permalink
Wolf loot table and meat items
Browse files Browse the repository at this point in the history
  • Loading branch information
dotpixel committed Jul 25, 2019
1 parent 9bae32b commit 273f660
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 3 deletions.
2 changes: 2 additions & 0 deletions generateResources.py
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,7 @@ def zipfolder(zip_name, target_dir):
'horse_meat',
'pheasant',
'venison',
'wolf',
'cooked_beef',
'cooked_pork',
'cooked_chicken',
Expand All @@ -387,6 +388,7 @@ def zipfolder(zip_name, target_dir):
'cooked_calamari',
'cooked_horse_meat',
'cooked_pheasant',
'cooked_wolf',
'cooked_venison'
]

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/net/dries007/tfc/util/LootTableListTFC.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public class LootTableListTFC
public static final ResourceLocation ANIMALS_PHEASANT = register("animals/pheasant");
public static final ResourceLocation ANIMALS_PIG = register("animals/pig");
public static final ResourceLocation ANIMALS_SHEEP = register("animals/sheep");
public static final ResourceLocation ANIMALS_WOLF = register("animals/deer");
public static final ResourceLocation ANIMALS_WOLF = register("animals/wolf");

private static ResourceLocation register(String id)
{
Expand Down
2 changes: 2 additions & 0 deletions src/main/java/net/dries007/tfc/util/agriculture/Food.java
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ public enum Food
HORSE_MEAT(MEAT, 0.2f, 1f, 0f, 1f, 2.5f, 0f, 0f, 3f, 1f, 200f),
PHEASANT(MEAT, 0.2f, 1f, 0f, 2f, 2.5f, 0f, 0f, 3f, 1f, 200f),
VENISON(MEAT, 0.2f, 1f, 0f, 0.5f, 2f, 0f, 0f, 3f, 1f, 200f),
WOLF(MEAT, 0.2f, 1f, 0f, 0.5f, 2f, 0f, 0f, 3f, 1f, 200f),
COOKED_BEEF(MEAT, 0.8f, 2f, 0f, 2f, 2.5f, 0f, 0f, 3f),
COOKED_PORK(MEAT, 0.8f, 2f, 0f, 2f, 2.5f, 0f, 0f, 3f),
COOKED_CHICKEN(MEAT, 0.6f, 2f, 0f, 0.5f, 2.5f, 0f, 0f, 3f),
Expand All @@ -97,6 +98,7 @@ public enum Food
COOKED_CALAMARI(MEAT, 0.4f, 2f, 0f, 0.5f, 1.5f, 0f, 0f, 3f),
COOKED_HORSE_MEAT(MEAT, 0.8f, 2f, 0f, 1f, 2.5f, 0f, 0f, 3f),
COOKED_PHEASANT(MEAT, 0.8f, 2f, 0f, 2f, 2.5f, 0f, 0f, 3f),
COOKED_WOLF(MEAT, 0.6f, 2f, 0f, 0.5f, 2f, 0f, 0f, 3f),
COOKED_VENISON(MEAT, 0.6f, 2f, 0f, 0.5f, 2f, 0f, 0f, 3f);

private final Category category;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ public BiomeTFC(BiomeProperties properties, int lilyPadPerChunk, int waterPlants
this.spawnableCreatureList.add(new Biome.SpawnListEntry(EntityDeerTFC.class, 14, 2, 4));
this.spawnableCreatureList.add(new Biome.SpawnListEntry(EntityPheasantTFC.class, 14, 2, 4));
this.spawnableCreatureList.add(new Biome.SpawnListEntry(EntityBearTFC.class, 4, 1, 2));
this.spawnableCreatureList.add(new Biome.SpawnListEntry(EntityWolfTFC.class, 6, 1, 3));
}

@Override
Expand Down

0 comments on commit 273f660

Please sign in to comment.