Binnie's Mods

Binnie's Mods

26M Downloads

Code style settings

marcin212 opened this issue ยท 4 comments

commented
commented

I think we should use the same code style as forestry.
https://github.com/ForestryMC/ForestryMC/blob/mc-1.11/formatting-settings.jar

commented
commented

@Nedelosk Maybe change continuation indent for tabs from 8 (2 tabs) to 4 (1 tab)?

For example before change:

RecipeManagers.carpenterManager.addRecipe(
		100,
		Binnie.LIQUID.getFluidStack(ManagerLiquid.WATER, 2000),
		ItemStack.EMPTY,
		new ItemStack(dictionaryBees),
		"X#X", "YEY", "RDR",
		'#', Blocks.GLASS_PANE,
		'X', Items.GOLD_INGOT,
		'Y', "ingotTin",
		'R', Items.REDSTONE,
		'D', Items.DIAMOND,
		'E', Items.EMERALD
);

after change

RecipeManagers.carpenterManager.addRecipe(
	100,
	Binnie.LIQUID.getFluidStack(ManagerLiquid.WATER, 2000),
	ItemStack.EMPTY,
	new ItemStack(dictionaryBees),
	"X#X", "YEY", "RDR",
	'#', Blocks.GLASS_PANE,
	'X', Items.GOLD_INGOT,
	'Y', "ingotTin",
	'R', Items.REDSTONE,
	'D', Items.DIAMOND,
	'E', Items.EMERALD
);
commented

@KorDum I have changed it.