completely random improvements
This commit is contained in:
@@ -83,9 +83,9 @@ public class CastingBasinBlockEntity extends TFMGMachineBlockEntity implements I
|
||||
|
||||
setMold();
|
||||
|
||||
if(tank1.isEmpty()){
|
||||
//if(tank1.isEmpty()){
|
||||
setCapacity();
|
||||
}
|
||||
//}
|
||||
|
||||
if(type==MoldType.NONE)
|
||||
return;
|
||||
|
||||
@@ -128,7 +128,7 @@ public class CokeOvenBlockEntity extends TFMGMachineBlockEntity implements IWren
|
||||
|
||||
/////
|
||||
RecipeWrapper inventoryIn = new RecipeWrapper(inputInventory);
|
||||
if ((lastRecipe == null || !lastRecipe.matches(inventoryIn, level))&&timer==-1) {
|
||||
if (lastRecipe == null || !lastRecipe.matches(inventoryIn, level)&&timer==-1) {
|
||||
Optional<CokingRecipe> recipe = TFMGRecipeTypes.COKING.find(inventoryIn, level);
|
||||
if (!recipe.isPresent()) {
|
||||
timer = -1;
|
||||
@@ -187,14 +187,14 @@ public class CokeOvenBlockEntity extends TFMGMachineBlockEntity implements IWren
|
||||
if(lastRecipe!=null
|
||||
&&isController
|
||||
&&timer==-1
|
||||
&&inputInventory.getItem(0).getCount()>=5&&
|
||||
&&inputInventory.getItem(0).getCount()>=1&&
|
||||
(tank2.getPrimaryHandler().getFluidAmount()+CARBON_DIOXIDE_PRODUCTION)<=tank2.getPrimaryHandler().getCapacity()&&
|
||||
(tank1.getPrimaryHandler().getFluidAmount()+lastRecipe.getFluidResults().get(0).getAmount())<=tank1.getPrimaryHandler().getCapacity(
|
||||
|
||||
|
||||
)){
|
||||
timer = lastRecipe.getProcessingDuration();
|
||||
inputInventory.setItem(0,new ItemStack(inputInventory.getItem(0).getItem(),inputInventory.getItem(0).getCount()-5));
|
||||
inputInventory.setItem(0,new ItemStack(inputInventory.getItem(0).getItem(),inputInventory.getItem(0).getCount()-1));
|
||||
|
||||
}
|
||||
// if(lastRecipe != null)
|
||||
|
||||
@@ -36,10 +36,18 @@ public class CastingCategory extends CreateRecipeCategory<CastingRecipe> {
|
||||
|
||||
int y = 77;
|
||||
for(int i = 0;i<CastingRecipe.getOutputCount(recipe);i++) {
|
||||
builder
|
||||
|
||||
ItemStack stack;
|
||||
if (i == 1) {
|
||||
stack = recipe.getBlockResult();
|
||||
} else
|
||||
stack = recipe.getIngotResult();
|
||||
|
||||
|
||||
builder
|
||||
.addSlot(RecipeIngredientRole.OUTPUT, 130, y)
|
||||
.setBackground(getRenderedSlot(), -1, -1)
|
||||
.addItemStack(recipe.getResultItem());
|
||||
.addItemStack(stack);
|
||||
|
||||
|
||||
ItemStack mold= TFMGItems.INGOT_MOLD.asStack();
|
||||
@@ -63,7 +71,7 @@ public class CastingCategory extends CreateRecipeCategory<CastingRecipe> {
|
||||
.addSlot(RecipeIngredientRole.INPUT, 2, 33)
|
||||
.setBackground(getRenderedSlot(), -1, -1)
|
||||
.addIngredients(ForgeTypes.FLUID_STACK, withImprovedVisibility(recipe.getInputFluid().getMatchingFluidStacks()))
|
||||
.addTooltipCallback(addFluidTooltip(recipe.getInputFluid().getRequiredAmount()));
|
||||
.addTooltipCallback(addFluidTooltip(111));
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -2,20 +2,20 @@
|
||||
"type": "createindustry:coking",
|
||||
"ingredients": [
|
||||
{
|
||||
"count": 5,
|
||||
"count": 1,
|
||||
"item": "minecraft:coal"
|
||||
}
|
||||
],
|
||||
"processingTime": 1000,
|
||||
"results": [
|
||||
{
|
||||
"count": 5,
|
||||
"count": 1,
|
||||
"item": "createindustry:coal_coke"
|
||||
}
|
||||
,
|
||||
{
|
||||
"fluid": "createindustry:creosote",
|
||||
"amount": 4
|
||||
"amount": 1
|
||||
}
|
||||
|
||||
]
|
||||
|
||||
@@ -8,10 +8,6 @@
|
||||
"results": [
|
||||
{
|
||||
"item": "minecraft:coal"
|
||||
},
|
||||
{
|
||||
"item": "minecraft:coal",
|
||||
"chance": 0.5
|
||||
}
|
||||
],
|
||||
"processingTime": 250
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
},
|
||||
{
|
||||
"item": "createindustry:sulfur_dust",
|
||||
"chance": 0.7
|
||||
"chance": 0.1
|
||||
}
|
||||
],
|
||||
"processingTime": 250
|
||||
|
||||
@@ -1,19 +0,0 @@
|
||||
|
||||
{
|
||||
"type": "create:filling",
|
||||
"ingredients": [
|
||||
{
|
||||
"item": "minecraft:bucket"
|
||||
},
|
||||
{
|
||||
"fluid": "createindustry:liquid_asphalt",
|
||||
"nbt": {},
|
||||
"amount": 200
|
||||
}
|
||||
],
|
||||
"results": [
|
||||
{
|
||||
"item": "createindustry:liquid_asphalt_bucket"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,19 +0,0 @@
|
||||
|
||||
{
|
||||
"type": "create:filling",
|
||||
"ingredients": [
|
||||
{
|
||||
"item": "minecraft:bucket"
|
||||
},
|
||||
{
|
||||
"fluid": "createindustry:liquid_concrete",
|
||||
"nbt": {},
|
||||
"amount": 200
|
||||
}
|
||||
],
|
||||
"results": [
|
||||
{
|
||||
"item": "createindustry:liquid_concrete_bucket"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -2,7 +2,6 @@
|
||||
"type": "create:mechanical_crafting",
|
||||
"pattern": [
|
||||
" S ",
|
||||
" I ",
|
||||
" A ",
|
||||
" P "
|
||||
],
|
||||
@@ -15,9 +14,6 @@
|
||||
"A": {
|
||||
"tag": "forge:ingots/aluminum"
|
||||
},
|
||||
"I": {
|
||||
"tag": "forge:ingots/steel"
|
||||
},
|
||||
"P": {
|
||||
"item": "createindustry:steel_mechanism"
|
||||
}
|
||||
|
||||
@@ -96,5 +96,5 @@
|
||||
"item": "createindustry:industrial_pipe"
|
||||
}
|
||||
],
|
||||
"loops": 2
|
||||
"loops": 1
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
|
||||
{
|
||||
"type": "minecraft:stonecutting",
|
||||
"ingredient": {
|
||||
"tag": "forge:ingots/aluminum"
|
||||
},
|
||||
"result": "createindustry:factory_floor",
|
||||
"count": 4
|
||||
}
|
||||
@@ -5,5 +5,5 @@
|
||||
"tag": "forge:ingots/steel"
|
||||
},
|
||||
"result": "createindustry:industrial_pipe",
|
||||
"count": 4
|
||||
"count": 8
|
||||
}
|
||||
Reference in New Issue
Block a user