Skip to content

Commit

Permalink
24w14potato
Browse files Browse the repository at this point in the history
  • Loading branch information
modmuss50 committed Apr 1, 2024
1 parent e78eae2 commit cda3b7d
Show file tree
Hide file tree
Showing 18 changed files with 163 additions and 82 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ plugins {
id "idea"
id "maven-publish"
id 'jacoco'
id "fabric-loom" version "1.5.4" apply false
id "fabric-loom" version "1.5.8" apply false
id "com.diffplug.spotless" version "6.20.0"
id "org.ajoberstar.grgit" version "3.1.0"
id "me.modmuss50.remotesign" version "0.4.0" apply false
Expand Down Expand Up @@ -361,7 +361,7 @@ remapTestmodJar {

// Apply auxiliary buildscripts to submodules
// This must be done after all plugins are applied to subprojects
apply from: "gradle/module-validation.gradle"
//apply from: "gradle/module-validation.gradle"
apply from: "gradle/module-versioning.gradle"

loom {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
"minecraft:lake_lava_surface"
],
[
"minecraft:amethyst_geode"
"minecraft:amethyst_geode",
"minecraft:potato_geode"
],
[
"minecraft:monster_room",
Expand All @@ -49,6 +50,7 @@
"minecraft:ore_iron_upper",
"minecraft:ore_iron_middle",
"minecraft:ore_iron_small",
"minecraft:ore_poisonous_potato",
"minecraft:ore_gold",
"minecraft:ore_gold_lower",
"minecraft:ore_redstone",
Expand Down Expand Up @@ -94,6 +96,12 @@
"maxCount": 8,
"minCount": 8,
"weight": 10
},
{
"type": "minecraft:batato",
"maxCount": 16,
"minCount": 8,
"weight": 13
}
],
"axolotls": [],
Expand Down Expand Up @@ -149,6 +157,12 @@
"minCount": 4,
"weight": 95
},
{
"type": "minecraft:poisonous_potato_zombie",
"maxCount": 4,
"minCount": 1,
"weight": 25
},
{
"type": "minecraft:zombie_villager",
"maxCount": 1,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@
"maxCount": 8,
"minCount": 8,
"weight": 10
},
{
"type": "minecraft:batato",
"maxCount": 16,
"minCount": 8,
"weight": 13
}
],
"axolotls": [],
Expand Down Expand Up @@ -78,6 +84,12 @@
"minCount": 4,
"weight": 95
},
{
"type": "minecraft:poisonous_potato_zombie",
"maxCount": 4,
"minCount": 1,
"weight": 25
},
{
"type": "minecraft:zombie_villager",
"maxCount": 1,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@
"maxCount": 8,
"minCount": 8,
"weight": 10
},
{
"type": "minecraft:batato",
"maxCount": 16,
"minCount": 8,
"weight": 13
}
],
"axolotls": [],
Expand Down Expand Up @@ -86,6 +92,12 @@
"minCount": 4,
"weight": 95
},
{
"type": "minecraft:poisonous_potato_zombie",
"maxCount": 4,
"minCount": 1,
"weight": 25
},
{
"type": "minecraft:zombie_villager",
"maxCount": 1,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@
"maxCount": 8,
"minCount": 8,
"weight": 10
},
{
"type": "minecraft:batato",
"maxCount": 16,
"minCount": 8,
"weight": 13
}
],
"axolotls": [],
Expand Down Expand Up @@ -78,6 +84,12 @@
"minCount": 4,
"weight": 95
},
{
"type": "minecraft:poisonous_potato_zombie",
"maxCount": 4,
"minCount": 1,
"weight": 25
},
{
"type": "minecraft:zombie_villager",
"maxCount": 1,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
{
"values": [
"minecraft:potato_fruit",
"minecraft:apple",
"minecraft:mushroom_stew",
"minecraft:bread",
"minecraft:porkchop",
"minecraft:cooked_porkchop",
"minecraft:golden_apple",
"minecraft:enchanted_golden_apple",
"minecraft:golden_poisonous_potato",
"minecraft:enchanted_golden_poisonous_potato",
"minecraft:cod",
"minecraft:salmon",
"minecraft:tropical_fish",
Expand All @@ -25,6 +28,11 @@
"minecraft:carrot",
"minecraft:potato",
"minecraft:baked_potato",
"minecraft:hot_potato",
"minecraft:poisonous_potato_fries",
"minecraft:poisonous_potato_sticks",
"minecraft:poisonous_potato_slices",
"minecraft:poisonous_potato_chips",
"minecraft:poisonous_potato",
"minecraft:golden_carrot",
"minecraft:pumpkin_pie",
Expand All @@ -39,6 +47,8 @@
"minecraft:suspicious_stew",
"minecraft:sweet_berries",
"minecraft:glow_berries",
"minecraft:honey_bottle"
"minecraft:honey_bottle",
"minecraft:hash_browns",
"minecraft:poisonous_potato_plant"
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public void testCrossWorldTeleport(TestContext context) {
entity.setAttached(DUMMY, () -> 10);
entity.setAttached(COPY_ON_DEATH, () -> 10);

Entity moved = entity.moveToWorld(end);
Entity moved = entity.moveToWorld(end, false);
if (moved == null) throw new GameTestException("Cross-world teleportation failed");

IntSupplier attached1 = moved.getAttached(DUMMY);
Expand Down
Loading

0 comments on commit cda3b7d

Please sign in to comment.