mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-18 19:39:37 +00:00
Some reformat code for 1.11.2 source (#84)
* Optimized imports * Some code reformat * Some refactoring and code reformat * Some code reformat
This commit is contained in:
1 parent
886c36a308
commit
c3809fbc27
508 files changed
+6677
-6238
No files matched your search
@@ -6,28 +6,24 @@ import net.minecraft.item.Item;
|
||||
import net.minecraft.util.text.translation.I18n;
|
||||
import net.minecraftforge.fml.common.registry.GameRegistry;
|
||||
|
||||
/**
|
||||
* Created by Elec332 on 12-5-2017.
|
||||
*/
|
||||
public class ExtraBeesCommonProxy {
|
||||
|
||||
public void registerBeeModel(ExtraBeesSpecies type) {
|
||||
}
|
||||
|
||||
public Block registerBlock(Block block){
|
||||
public Block registerBlock(Block block) {
|
||||
return GameRegistry.register(block);
|
||||
}
|
||||
|
||||
public Item registerItem(Item item){
|
||||
public Item registerItem(Item item) {
|
||||
return GameRegistry.register(item);
|
||||
}
|
||||
|
||||
@SuppressWarnings("deprecation")
|
||||
public String localise(String s){
|
||||
public String localise(String s) {
|
||||
return I18n.translateToLocal(s);
|
||||
}
|
||||
|
||||
public void registerModel(Item item, int meta) {
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user