I don't think so.
This commit is contained in:
parent
7e8ff75665
commit
c4c48b5ae2
2 changed files with 7 additions and 7 deletions
|
@ -134,7 +134,7 @@ public class SPConfig {
|
||||||
|
|
||||||
public final ForgeConfigSpec.BooleanValue allowUnverifiedContraption;
|
public final ForgeConfigSpec.BooleanValue allowUnverifiedContraption;
|
||||||
public final ForgeConfigSpec.BooleanValue allowCartAssembler;
|
public final ForgeConfigSpec.BooleanValue allowCartAssembler;
|
||||||
public final ForgeConfigSpec.BooleanValue disableDynamo;
|
//public final ForgeConfigSpec.BooleanValue disableDynamo;
|
||||||
|
|
||||||
Server(ForgeConfigSpec.Builder builder) {
|
Server(ForgeConfigSpec.Builder builder) {
|
||||||
builder.push("createmodify");
|
builder.push("createmodify");
|
||||||
|
@ -145,7 +145,7 @@ public class SPConfig {
|
||||||
builder.pop();
|
builder.pop();
|
||||||
builder.push("dynamo");
|
builder.push("dynamo");
|
||||||
{
|
{
|
||||||
disableDynamo = builder
|
/*disableDynamo = builder
|
||||||
.comment("Set to true to DISABLE the DynamoBlock ONLY when Create: Crafts & Additions is loaded")
|
.comment("Set to true to DISABLE the DynamoBlock ONLY when Create: Crafts & Additions is loaded")
|
||||||
.comment("Create: Crafts & Additions is a mod which provides a similar electricity generation device called Alternator")
|
.comment("Create: Crafts & Additions is a mod which provides a similar electricity generation device called Alternator")
|
||||||
.comment("For pack developers who think having two similar devices is superfluous, you have two choices:")
|
.comment("For pack developers who think having two similar devices is superfluous, you have two choices:")
|
||||||
|
@ -159,7 +159,7 @@ public class SPConfig {
|
||||||
.comment("the code implementation of the Alternator created by MRH0, which is under MIT License")
|
.comment("the code implementation of the Alternator created by MRH0, which is under MIT License")
|
||||||
.comment("We acknowledge and appreciate the great work done by MRH0. We learn from his code")
|
.comment("We acknowledge and appreciate the great work done by MRH0. We learn from his code")
|
||||||
.comment("MRH0 is also under our credits list in mods.toml description")
|
.comment("MRH0 is also under our credits list in mods.toml description")
|
||||||
.define("disableDynamo", false);
|
.define("disableDynamo", false);*/
|
||||||
}
|
}
|
||||||
builder.pop();
|
builder.pop();
|
||||||
}
|
}
|
||||||
|
|
|
@ -117,16 +117,16 @@ public class DynamoBlock extends DirectionalKineticBlock implements ITE<DynamoTi
|
||||||
return SpeedLevel.MEDIUM;
|
return SpeedLevel.MEDIUM;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
/* @Override
|
||||||
public void fillItemCategory(ItemGroup group, NonNullList<ItemStack> itemStacks) {
|
public void fillItemCategory(ItemGroup group, NonNullList<ItemStack> itemStacks) {
|
||||||
if (ModList.get().isLoaded("createaddition") && SPConfig.SERVER.disableDynamo.get()) {
|
if (ModList.get().isLoaded("createaddition") && SPConfig.SERVER.disableDynamo.get()) {
|
||||||
// removes dynamo from creative tab when CC&A is loaded AND config is set to true
|
// removes dynamo from creative tab when CC&A is loaded AND config is set to true
|
||||||
} else {
|
} else {
|
||||||
super.fillItemCategory(group, itemStacks);
|
super.fillItemCategory(group, itemStacks);
|
||||||
}
|
}
|
||||||
}
|
}*/
|
||||||
|
|
||||||
@Override
|
/* @Override
|
||||||
public void appendHoverText(ItemStack i, IBlockReader w, List<ITextComponent> t, ITooltipFlag f) {
|
public void appendHoverText(ItemStack i, IBlockReader w, List<ITextComponent> t, ITooltipFlag f) {
|
||||||
t.add(new StringTextComponent("We adapt and appreciate MRH0's code").withStyle(TextFormatting.GRAY));
|
t.add(new StringTextComponent("We adapt and appreciate MRH0's code").withStyle(TextFormatting.GRAY));
|
||||||
if (ModList.get().isLoaded("createaddition")) {
|
if (ModList.get().isLoaded("createaddition")) {
|
||||||
|
@ -135,7 +135,7 @@ public class DynamoBlock extends DirectionalKineticBlock implements ITE<DynamoTi
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
super.appendHoverText(i,w,t,f);
|
super.appendHoverText(i,w,t,f);
|
||||||
}
|
}*/
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void neighborChanged(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean flag) {
|
public void neighborChanged(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean flag) {
|
||||||
|
|
Loading…
Reference in a new issue