From 6ec917af677a3e5a6dfe0bb1e2a5d21af030d4df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=86=AC=E7=85=9C?= <10185101162@stu.ecnu.edu.cn> Date: Wed, 15 Feb 2023 21:17:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=8D=A7=E7=81=B5=E9=83=A8?= =?UTF-8?q?=E5=88=86=E6=95=B0=E6=8D=AE=E5=92=8C=E5=BC=BA=E5=8C=96=E6=A0=91?= =?UTF-8?q?=E8=84=82=E5=88=B6=E5=93=81=E5=90=88=E6=88=90=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../emeraldcraft/common/entities/ai/LumineAi.java | 2 +- ...sin_slab_from_reinforced_resin_block_stonecutting.json | 8 ++++++++ ...n_stairs_from_reinforced_resin_block_stonecutting.json | 8 ++++++++ ...sin_wall_from_reinforced_resin_block_stonecutting.json | 8 ++++++++ 4 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 src/main/resources/data/emeraldcraft/recipes/stonecutting/reinforced_resin_slab_from_reinforced_resin_block_stonecutting.json create mode 100644 src/main/resources/data/emeraldcraft/recipes/stonecutting/reinforced_resin_stairs_from_reinforced_resin_block_stonecutting.json create mode 100644 src/main/resources/data/emeraldcraft/recipes/stonecutting/reinforced_resin_wall_from_reinforced_resin_block_stonecutting.json diff --git a/src/main/java/com/hexagram2021/emeraldcraft/common/entities/ai/LumineAi.java b/src/main/java/com/hexagram2021/emeraldcraft/common/entities/ai/LumineAi.java index 22516e0c..717a6e0e 100644 --- a/src/main/java/com/hexagram2021/emeraldcraft/common/entities/ai/LumineAi.java +++ b/src/main/java/com/hexagram2021/emeraldcraft/common/entities/ai/LumineAi.java @@ -43,7 +43,7 @@ private static void initCoreActivity(Brain brain) { private static void initIdleActivity(Brain brain) { brain.addActivityWithConditions(Activity.IDLE, ImmutableList.of( - Pair.of(0, new GoToNearestDarkPosition<>(1.75F, true, 32)), + Pair.of(0, new GoToNearestDarkPosition<>(1.25F, true, 32)), Pair.of(1, new GoToWantedItem<>(lumine -> true, 1.75F, true, 32)), Pair.of(2, new StayCloseToTarget<>(LumineAi::getLikedPlayerPositionTracker, 4, 16, 2.25F)), Pair.of(3, new RunSometimes<>(new SetEntityLookTarget(livingEntity -> true, 6.0F), UniformInt.of(30, 60))), diff --git a/src/main/resources/data/emeraldcraft/recipes/stonecutting/reinforced_resin_slab_from_reinforced_resin_block_stonecutting.json b/src/main/resources/data/emeraldcraft/recipes/stonecutting/reinforced_resin_slab_from_reinforced_resin_block_stonecutting.json new file mode 100644 index 00000000..bdff0517 --- /dev/null +++ b/src/main/resources/data/emeraldcraft/recipes/stonecutting/reinforced_resin_slab_from_reinforced_resin_block_stonecutting.json @@ -0,0 +1,8 @@ +{ + "type": "minecraft:stonecutting", + "ingredient": { + "item": "emeraldcraft:reinforced_resin_block" + }, + "result": "emeraldcraft:reinforced_resin_slab", + "count": 2 +} \ No newline at end of file diff --git a/src/main/resources/data/emeraldcraft/recipes/stonecutting/reinforced_resin_stairs_from_reinforced_resin_block_stonecutting.json b/src/main/resources/data/emeraldcraft/recipes/stonecutting/reinforced_resin_stairs_from_reinforced_resin_block_stonecutting.json new file mode 100644 index 00000000..bf28d613 --- /dev/null +++ b/src/main/resources/data/emeraldcraft/recipes/stonecutting/reinforced_resin_stairs_from_reinforced_resin_block_stonecutting.json @@ -0,0 +1,8 @@ +{ + "type": "minecraft:stonecutting", + "ingredient": { + "item": "emeraldcraft:reinforced_resin_block" + }, + "result": "emeraldcraft:reinforced_resin_stairs", + "count": 1 +} \ No newline at end of file diff --git a/src/main/resources/data/emeraldcraft/recipes/stonecutting/reinforced_resin_wall_from_reinforced_resin_block_stonecutting.json b/src/main/resources/data/emeraldcraft/recipes/stonecutting/reinforced_resin_wall_from_reinforced_resin_block_stonecutting.json new file mode 100644 index 00000000..6714761d --- /dev/null +++ b/src/main/resources/data/emeraldcraft/recipes/stonecutting/reinforced_resin_wall_from_reinforced_resin_block_stonecutting.json @@ -0,0 +1,8 @@ +{ + "type": "minecraft:stonecutting", + "ingredient": { + "item": "emeraldcraft:reinforced_resin_block" + }, + "result": "emeraldcraft:reinforced_resin_wall", + "count": 1 +} \ No newline at end of file