Skip to content

Commit b85afc7

Browse files
[fix] Fix incorrect mixin method prefix.
1.4.2
1 parent a7635d1 commit b85afc7

File tree

5 files changed

+11
-17
lines changed

5 files changed

+11
-17
lines changed

CHANGELOG.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
1-
### Create: Dragons Plus 1.4.1
1+
### Create: Dragons Plus 1.4.2
22

33
#### Update
4-
- Add Ponder for Bulk Freezing
5-
- Update Russian Translation by @Korben
6-
7-
#### Fix
8-
- Fix Bulk Freezing JEI Plugin doesn't render correctly
9-
- Fix Contraption does not respect FluisState of WaterAndLavaLoggedBlock
4+
- Update Japanese Translation by @YukkuriOfuton

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ mod_id = create_dragons_plus
1717
mod_artifact_id = create-dragons-plus
1818
mod_name = Create: Dragons Plus
1919
mod_license = LGPL-3.0-or-later
20-
mod_version = 1.4.1
20+
mod_version = 1.4.2
2121
mod_group_id = plus.dragons.createdragonsplus
2222
mod_authors = DragonsPlus
2323
mod_description = Library mod for DragonsPlusMinecraft Create-addons.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// 1.21.1 2025-04-28T17:38:25.0981662 ForeignLanguage
2-
5fda171d6a6e7c5f927fe39297bd1d881b458d71 assets/create_dragons_plus/lang/ja_jp.json
1+
// 1.21.1 2025-04-29T11:13:24.3144886 ForeignLanguage
2+
f12dea12aa7e2287ff3531b6756c3d9438aa1f2b assets/create_dragons_plus/lang/ja_jp.json
33
984958015daeab975d5c123e7dff5c798889c007 assets/create_dragons_plus/lang/ru_ru.json
44
ebcf38d0a0a62cff69146fe8692b7925d5ba49d4 assets/create_dragons_plus/lang/zh_cn.json

src/generated/resources/assets/create_dragons_plus/lang/ja_jp.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
2-
"_comment.unlocalized": "Remove this line after finishing localization.",
32
"block.create_dragons_plus.black_dye": "黒色の液体染料",
43
"block.create_dragons_plus.blue_dye": "青色の液体染料",
54
"block.create_dragons_plus.brown_dye": "茶色の液体染料",
@@ -25,8 +24,8 @@
2524
"create_dragons_plus.ponder.bulk_coloring.text_2": "一括精錬や一括燻製と同じように、一括着色は染料を使用した特定のクラフトレシピと互換性を持ちます。",
2625
"create_dragons_plus.ponder.bulk_coloring.text_3": "気流による着色はエンティティにも影響を与え、その色を変えます。",
2726
"create_dragons_plus.ponder.bulk_coloring.text_4": "装備している防具にも色が付きます。",
28-
"create_dragons_plus.ponder.bulk_freezing.header": "Bulk Freezing",
29-
"create_dragons_plus.ponder.bulk_freezing.text_1": "Air Flows passing through Powder Snow creates a Freezing Setup",
27+
"create_dragons_plus.ponder.bulk_freezing.header": "一括凍結",
28+
"create_dragons_plus.ponder.bulk_freezing.text_1": "粉雪を通過した気流は、アイテムを凍結させることが出来ます。",
3029
"fluid.create_dragons_plus.black_dye": "黒色の液体染料",
3130
"fluid.create_dragons_plus.blue_dye": "青色の液体染料",
3231
"fluid.create_dragons_plus.brown_dye": "茶色の液体染料",
@@ -68,8 +67,8 @@
6867
"itemGroup.create_dragons_plus.base": "Create: Dragons Plus",
6968
"recipe.create_dragons_plus.fan_coloring": "一括着色",
7069
"recipe.create_dragons_plus.fan_coloring.fan": "液体染料の後ろのケース入りファン",
71-
"recipe.create_dragons_plus.fan_freezing": "Bulk Freezing",
72-
"recipe.create_dragons_plus.fan_freezing.fan": "Fan behind Powder Snow",
70+
"recipe.create_dragons_plus.fan_freezing": "一括凍結",
71+
"recipe.create_dragons_plus.fan_freezing.fan": "粉雪の後ろのケース入りファン",
7372
"tag.block.create_dragons_plus.passive_block_freezers": "Passive Block Freezers",
7473
"tag.fluid.c.dragons_breath": "Dragon's Breath",
7574
"tag.fluid.c.dyes": "Dyes",

src/main/java/plus/dragons/createdragonsplus/mixin/create/ContraptionMixin.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
@Mixin(Contraption.class)
4040
public abstract class ContraptionMixin {
4141
@Inject(method = "removeBlocksFromWorld", at = @At(value = "INVOKE", target = "Lnet/minecraft/world/level/Level;setBlock(Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;I)Z", shift = At.Shift.AFTER))
42-
private void createintegratedfarming$fixRemoveBlockLeaveNoFluid(Level world, BlockPos offset, CallbackInfo ci, @Local Block blockIn, @Local BlockState oldState, @Local(ordinal = 1) BlockPos add) {
42+
private void createdragonsplus$fixRemoveBlockLeaveNoFluid(Level world, BlockPos offset, CallbackInfo ci, @Local Block blockIn, @Local BlockState oldState, @Local(ordinal = 1) BlockPos add) {
4343
if (blockIn instanceof WaterAndLavaLoggedBlock && oldState.hasProperty(FLUID)
4444
&& oldState.getValue(FLUID) != WaterAndLavaLoggedBlock.ContainedFluid.EMPTY) {
4545
var f = oldState.getValue(FLUID);
@@ -52,7 +52,7 @@ public abstract class ContraptionMixin {
5252
}
5353

5454
@ModifyArg(method = "addBlocksToWorld", at = @At(value = "INVOKE", target = "Lnet/minecraft/world/level/Level;setBlock(Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;I)Z"), index = 1)
55-
private BlockState createintegratedfarming$fixAddBlocksToWorldIgnoreFluid(BlockState state, @Local(ordinal = 0) BlockPos targetPos, @Local(ordinal = 0, argsOnly = true) Level world) {
55+
private BlockState createdragonsplus$fixAddBlocksToWorldIgnoreFluid(BlockState state, @Local(ordinal = 0) BlockPos targetPos, @Local(ordinal = 0, argsOnly = true) Level world) {
5656
var result = state;
5757
if (state.getBlock() instanceof WaterAndLavaLoggedBlock
5858
&& state.hasProperty(FLUID)) {

0 commit comments

Comments
 (0)