1.12: Missing slab recipes added. Slab slices added. Item displays fixed. Block hardness fixes. 1.14: Updated to 1.14.3. Mineral Smelter concept implementation.
This commit is contained in:
parent
973da5d4b3
commit
8b99f38f17
11 changed files with 51 additions and 25 deletions
|
@ -51,7 +51,7 @@ clean-all: clean
|
|||
@$(GRADLE) clean cleanCache
|
||||
|
||||
mrproper: clean-all
|
||||
@rm -rf meta/*
|
||||
@rm -f meta/*.*
|
||||
@rm -rf run/
|
||||
@rm -rf out/
|
||||
@rm -f .project
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
"homepage": "https://www.curseforge.com/minecraft/mc-mods/engineers-decor/",
|
||||
"1.12.2": {
|
||||
"1.0.9-b3": "[A] Added missing recipes for slabs.\n[A] Added slab slices for IE sheet metals, treated wood, and concretes (stackable \"quater-slabs\").\n[M] Updated 1st/3rd person item model rotations/translations.\n[M] Hardness of valves and furni slightly increased.",
|
||||
"1.0.9-b2": "[A] Added slabs for Clinker Brick, Slag Brick, Rebar Concrete, and Stained Clinker. Texture variations like the base blocks. Allow fast pick-up (see tooltip help or config).\n[F] Fixed lab/electrical furnace initialisation issue (first item inserted was smelted directly).",
|
||||
"1.0.9-b1": "[U] Lang file ru_ru updated (PR#31, yaroslav4167).\n[M] Block hardness adaptions (issue #32).",
|
||||
"1.0.8": "[R] Release based on v1.0.8-b2. Release-to-release changes: * Added factory area sign. * Added stained clinker. * Config opt-out fixes, detailed feature selection possible now. * Recipe adaptions and fixes. * Lang files updated.\n[A] Added stained clinker brick block/stairs. Can be mixed with \"normal\" clinkers.\n[A] Added opt-out option for CTRL-SHIFT tooltips.\n[M] Recipe condition requirements updated, recipes categorized.",
|
||||
|
@ -46,6 +47,6 @@
|
|||
},
|
||||
"promos": {
|
||||
"1.12.2-recommended": "1.0.8",
|
||||
"1.12.2-latest": "1.0.9-b2"
|
||||
"1.12.2-latest": "1.0.9-b3"
|
||||
}
|
||||
}
|
|
@ -10,7 +10,7 @@ Mod sources for Minecraft version 1.12.2.
|
|||
----
|
||||
## Version history
|
||||
|
||||
~ v1.0.9-b3 [A] Added missing recipes for slabs.
|
||||
- v1.0.9-b3 [A] Added missing recipes for slabs.
|
||||
[A] Added slab slices for IE sheet metals, treated wood,
|
||||
and concretes (stackable "quater-slabs").
|
||||
[M] Updated 1st/3rd person item model rotations/translations.
|
||||
|
|
|
@ -154,10 +154,28 @@ public class BlockDecorMineralSmelter extends BlockDecorDirectedHorizontal
|
|||
if(te.accepts_lava_container(stack)) {
|
||||
if(stack.isItemEqualIgnoreDurability(BTileEntity.BUCKET_STACK)) { // check how this works with item capabilities or so
|
||||
if(te.fluid_level() >= BTileEntity.MAX_BUCKET_EXTRACT_FLUID_LEVEL) {
|
||||
te.reset_process();
|
||||
player.setHeldItem(hand, BTileEntity.LAVA_BUCKET_STACK.copy());
|
||||
world.playSound(null, pos, SoundEvents.ITEM_BUCKET_FILL_LAVA, SoundCategory.BLOCKS, 1f, 1f);
|
||||
dirty = true;
|
||||
if(stack.getCount() > 1) {
|
||||
int target_stack_index = -1;
|
||||
for(int i=0; i<player.inventory.getSizeInventory(); ++i) {
|
||||
if(player.inventory.getStackInSlot(i).isEmpty()) {
|
||||
target_stack_index = i;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if(target_stack_index >= 0) {
|
||||
te.reset_process();
|
||||
stack.shrink(1);
|
||||
player.setHeldItem(hand, stack);
|
||||
player.inventory.setInventorySlotContents(target_stack_index, BTileEntity.LAVA_BUCKET_STACK.copy());
|
||||
world.playSound(null, pos, SoundEvents.ITEM_BUCKET_FILL_LAVA, SoundCategory.BLOCKS, 1f, 1f);
|
||||
dirty = true;
|
||||
}
|
||||
} else {
|
||||
te.reset_process();
|
||||
player.setHeldItem(hand, BTileEntity.LAVA_BUCKET_STACK.copy());
|
||||
world.playSound(null, pos, SoundEvents.ITEM_BUCKET_FILL_LAVA, SoundCategory.BLOCKS, 1f, 1f);
|
||||
dirty = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
} else if(stack.getItem() == Items.AIR) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue