mirror of
https://github.com/GTNewHorizons/Chisel.git
synced 2026-11-17 11:15:07 +00:00
The great format and clean up. IMPORTANT: Read below.
All devs and contributors should use the provided formatter settings. If your IDE does not support the format, the rules are simple, it is the default java formatting rules, with 200char line lengths and 1 extra line after class definitions.
This commit is contained in:
1 parent
906c730a3c
commit
4cfcc874dc
136 files changed
+10365
-11272
No files matched your search
@@ -1,10 +1,6 @@
|
||||
package com.cricketcraft.chisel.api;
|
||||
|
||||
public enum ChiselMode
|
||||
{
|
||||
public enum ChiselMode {
|
||||
|
||||
SINGLE,
|
||||
CIRCLETHREE,
|
||||
COLLUM,
|
||||
SIDEWAYS
|
||||
SINGLE, CIRCLETHREE, COLLUM, SIDEWAYS
|
||||
}
|
||||
@@ -2,13 +2,17 @@ package com.cricketcraft.chisel.api;
|
||||
|
||||
import com.cricketcraft.chisel.carving.CarvableVariation;
|
||||
|
||||
public interface ICarvable
|
||||
{
|
||||
/**
|
||||
* This grabs the variations possible
|
||||
* @param metadata This is the metadata that a block will use and the basis of chisel
|
||||
* Traditionally you make an instance of CarvableHelper ex. CarvableHelper carverHelper = new CarvableHelper();
|
||||
* In this method you return carverHelper.getVariation(metadata) and that should be all you need if you register it correctly.
|
||||
*/
|
||||
public CarvableVariation getVariation(int metadata);
|
||||
public interface ICarvable {
|
||||
|
||||
/**
|
||||
* This grabs the variations possible
|
||||
*
|
||||
* @param metadata
|
||||
* This is the metadata that a block will use and the basis of
|
||||
* chisel Traditionally you make an instance of CarvableHelper
|
||||
* ex. CarvableHelper carverHelper = new CarvableHelper(); In
|
||||
* this method you return carverHelper.getVariation(metadata) and
|
||||
* that should be all you need if you register it correctly.
|
||||
*/
|
||||
public CarvableVariation getVariation(int metadata);
|
||||
}
|
||||
@@ -2,7 +2,7 @@ package com.cricketcraft.chisel.api;
|
||||
|
||||
import net.minecraft.item.ItemStack;
|
||||
|
||||
public interface IChiselMode
|
||||
{
|
||||
public ChiselMode getChiselMode(ItemStack itemStack);
|
||||
public interface IChiselMode {
|
||||
|
||||
public ChiselMode getChiselMode(ItemStack itemStack);
|
||||
}
|
||||
@@ -5,8 +5,8 @@ import net.minecraft.world.IBlockAccess;
|
||||
|
||||
public interface IFacade {
|
||||
|
||||
int getFacadeMetadata(IBlockAccess world, int x, int y, int z, int side);
|
||||
|
||||
Block getFacade(IBlockAccess world, int x, int y, int z, int side);
|
||||
|
||||
int getFacadeMetadata(IBlockAccess world, int x, int y, int z, int side);
|
||||
|
||||
Block getFacade(IBlockAccess world, int x, int y, int z, int side);
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user