Skip to content

Commit

Permalink
Add gazelle heads (no 2d texture yet)
Browse files Browse the repository at this point in the history
  • Loading branch information
itsmeow committed Feb 22, 2023
1 parent c25cb3f commit 94dfbad
Show file tree
Hide file tree
Showing 18 changed files with 871 additions and 105 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,10 @@ public static void layerDefinitions(ImmutableMap.Builder<ModelLayerLocation, Lay
r.accept("feral_wolf_head", ModelFeralWolfHead.createBodyLayer());
r.accept("moose_head", ModelMooseHead.createBodyLayer());
r.accept("reindeer_head", ModelReindeerHead.createBodyLayer());
r.accept("blackbuck_gazelle_head", ModelGazelleHead.createBlackbuckLayer());
r.accept("chinkara_gazelle_head", ModelGazelleHead.createChinkaraLayer());
r.accept("erlanger_gazelle_head", ModelGazelleHead.createErlangerLayer());
r.accept("springbok_gazelle_head", ModelGazelleHead.createSpringbokLayer());

r.accept("trillium_single", ModelTrillium.createBodyLayer());
r.accept("trillium_double", ModelTrilliumMulti.createBodyLayer());
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,9 @@ public class ModEntities {
.size(1F, 1.5F)
.biomesOverworld(BiomeTypes.SAVANNA)
.variants("blackbuck", "blackbuck_2", "chinkara", "erlanger", "springbok")
/*.head().itemGroup(G).mapToNames().setModel(() -> ModelGazelleHead::new, "gazelle_head").done()*/);
.head().itemGroup(G).mapToNames().setModelMapped(() -> headTypeName -> ModelGazelleHead::new,
headTypeName -> headTypeName.equals("blackbuck_2") ? "blackbuck_gazelle_head" : headTypeName + "_gazelle_head")
.done());

public static LinkedHashMap<String, EntityTypeContainer<? extends Mob>> getEntities() {
return H.ENTITIES;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"variants": {
"facing=east,top=east": { "model": "minecraft:block/soul_sand" },
"facing=west,top=east": { "model": "minecraft:block/soul_sand" },
"facing=north,top=east": { "model": "minecraft:block/soul_sand" },
"facing=south,top=east": { "model": "minecraft:block/soul_sand" },
"facing=up,top=east": { "model": "minecraft:block/soul_sand" },
"facing=east,top=west": { "model": "minecraft:block/soul_sand" },
"facing=west,top=west": { "model": "minecraft:block/soul_sand" },
"facing=north,top=west": { "model": "minecraft:block/soul_sand" },
"facing=south,top=west": { "model": "minecraft:block/soul_sand" },
"facing=up,top=west": { "model": "minecraft:block/soul_sand" },
"facing=east,top=north": { "model": "minecraft:block/soul_sand" },
"facing=west,top=north": { "model": "minecraft:block/soul_sand" },
"facing=north,top=north": { "model": "minecraft:block/soul_sand" },
"facing=south,top=north": { "model": "minecraft:block/soul_sand" },
"facing=up,top=north": { "model": "minecraft:block/soul_sand" },
"facing=east,top=south": { "model": "minecraft:block/soul_sand" },
"facing=west,top=south": { "model": "minecraft:block/soul_sand" },
"facing=north,top=south": { "model": "minecraft:block/soul_sand" },
"facing=south,top=south": { "model": "minecraft:block/soul_sand" },
"facing=up,top=south": { "model": "minecraft:block/soul_sand" }
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"variants": {
"facing=east,top=east": { "model": "minecraft:block/soul_sand" },
"facing=west,top=east": { "model": "minecraft:block/soul_sand" },
"facing=north,top=east": { "model": "minecraft:block/soul_sand" },
"facing=south,top=east": { "model": "minecraft:block/soul_sand" },
"facing=up,top=east": { "model": "minecraft:block/soul_sand" },
"facing=east,top=west": { "model": "minecraft:block/soul_sand" },
"facing=west,top=west": { "model": "minecraft:block/soul_sand" },
"facing=north,top=west": { "model": "minecraft:block/soul_sand" },
"facing=south,top=west": { "model": "minecraft:block/soul_sand" },
"facing=up,top=west": { "model": "minecraft:block/soul_sand" },
"facing=east,top=north": { "model": "minecraft:block/soul_sand" },
"facing=west,top=north": { "model": "minecraft:block/soul_sand" },
"facing=north,top=north": { "model": "minecraft:block/soul_sand" },
"facing=south,top=north": { "model": "minecraft:block/soul_sand" },
"facing=up,top=north": { "model": "minecraft:block/soul_sand" },
"facing=east,top=south": { "model": "minecraft:block/soul_sand" },
"facing=west,top=south": { "model": "minecraft:block/soul_sand" },
"facing=north,top=south": { "model": "minecraft:block/soul_sand" },
"facing=south,top=south": { "model": "minecraft:block/soul_sand" },
"facing=up,top=south": { "model": "minecraft:block/soul_sand" }
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"variants": {
"facing=east,top=east": { "model": "minecraft:block/soul_sand" },
"facing=west,top=east": { "model": "minecraft:block/soul_sand" },
"facing=north,top=east": { "model": "minecraft:block/soul_sand" },
"facing=south,top=east": { "model": "minecraft:block/soul_sand" },
"facing=up,top=east": { "model": "minecraft:block/soul_sand" },
"facing=east,top=west": { "model": "minecraft:block/soul_sand" },
"facing=west,top=west": { "model": "minecraft:block/soul_sand" },
"facing=north,top=west": { "model": "minecraft:block/soul_sand" },
"facing=south,top=west": { "model": "minecraft:block/soul_sand" },
"facing=up,top=west": { "model": "minecraft:block/soul_sand" },
"facing=east,top=north": { "model": "minecraft:block/soul_sand" },
"facing=west,top=north": { "model": "minecraft:block/soul_sand" },
"facing=north,top=north": { "model": "minecraft:block/soul_sand" },
"facing=south,top=north": { "model": "minecraft:block/soul_sand" },
"facing=up,top=north": { "model": "minecraft:block/soul_sand" },
"facing=east,top=south": { "model": "minecraft:block/soul_sand" },
"facing=west,top=south": { "model": "minecraft:block/soul_sand" },
"facing=north,top=south": { "model": "minecraft:block/soul_sand" },
"facing=south,top=south": { "model": "minecraft:block/soul_sand" },
"facing=up,top=south": { "model": "minecraft:block/soul_sand" }
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"variants": {
"facing=east,top=east": { "model": "minecraft:block/soul_sand" },
"facing=west,top=east": { "model": "minecraft:block/soul_sand" },
"facing=north,top=east": { "model": "minecraft:block/soul_sand" },
"facing=south,top=east": { "model": "minecraft:block/soul_sand" },
"facing=up,top=east": { "model": "minecraft:block/soul_sand" },
"facing=east,top=west": { "model": "minecraft:block/soul_sand" },
"facing=west,top=west": { "model": "minecraft:block/soul_sand" },
"facing=north,top=west": { "model": "minecraft:block/soul_sand" },
"facing=south,top=west": { "model": "minecraft:block/soul_sand" },
"facing=up,top=west": { "model": "minecraft:block/soul_sand" },
"facing=east,top=north": { "model": "minecraft:block/soul_sand" },
"facing=west,top=north": { "model": "minecraft:block/soul_sand" },
"facing=north,top=north": { "model": "minecraft:block/soul_sand" },
"facing=south,top=north": { "model": "minecraft:block/soul_sand" },
"facing=up,top=north": { "model": "minecraft:block/soul_sand" },
"facing=east,top=south": { "model": "minecraft:block/soul_sand" },
"facing=west,top=south": { "model": "minecraft:block/soul_sand" },
"facing=north,top=south": { "model": "minecraft:block/soul_sand" },
"facing=south,top=south": { "model": "minecraft:block/soul_sand" },
"facing=up,top=south": { "model": "minecraft:block/soul_sand" }
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"variants": {
"facing=east,top=east": { "model": "minecraft:block/soul_sand" },
"facing=west,top=east": { "model": "minecraft:block/soul_sand" },
"facing=north,top=east": { "model": "minecraft:block/soul_sand" },
"facing=south,top=east": { "model": "minecraft:block/soul_sand" },
"facing=up,top=east": { "model": "minecraft:block/soul_sand" },
"facing=east,top=west": { "model": "minecraft:block/soul_sand" },
"facing=west,top=west": { "model": "minecraft:block/soul_sand" },
"facing=north,top=west": { "model": "minecraft:block/soul_sand" },
"facing=south,top=west": { "model": "minecraft:block/soul_sand" },
"facing=up,top=west": { "model": "minecraft:block/soul_sand" },
"facing=east,top=north": { "model": "minecraft:block/soul_sand" },
"facing=west,top=north": { "model": "minecraft:block/soul_sand" },
"facing=north,top=north": { "model": "minecraft:block/soul_sand" },
"facing=south,top=north": { "model": "minecraft:block/soul_sand" },
"facing=up,top=north": { "model": "minecraft:block/soul_sand" },
"facing=east,top=south": { "model": "minecraft:block/soul_sand" },
"facing=west,top=south": { "model": "minecraft:block/soul_sand" },
"facing=north,top=south": { "model": "minecraft:block/soul_sand" },
"facing=south,top=south": { "model": "minecraft:block/soul_sand" },
"facing=up,top=south": { "model": "minecraft:block/soul_sand" }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
"block.betteranimalsplus.blackbearhead": "Bear Head",
"block.betteranimalsplus.moosehead": "Moose Head",
"block.betteranimalsplus.coyotehead": "Coyote Head",
"block.betteranimalsplus.gazellehead": "Gazelle Head",
"block.betteranimalsplus.turkey_raw": "Raw Turkey",
"block.betteranimalsplus.turkey_cooked": "Cooked Turkey",

Expand Down
Loading

0 comments on commit 94dfbad

Please sign in to comment.