Reformatted, and ported back some enhancements from the Forge version.

This commit is contained in:
Sebastian Hartte
2020-08-15 02:51:03 +02:00
parent 0a2f03aa92
commit 6c544f2211
358 changed files with 1124 additions and 1831 deletions
@@ -1,14 +1,14 @@
package team.chisel.ctm.api;
import net.minecraft.block.BlockState;
import net.minecraft.util.math.BlockPos;
import net.minecraft.util.math.Direction;
import net.minecraft.world.BlockView;
import net.minecraft.world.World;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import net.minecraft.block.BlockState;
import net.minecraft.util.math.Direction;
import net.minecraft.util.math.BlockPos;
import net.minecraft.world.BlockView;
import net.minecraft.world.World;
/**
* To be implemented on blocks that "hide" another block inside, so connected
* textures can still be accomplished.
@@ -17,7 +17,7 @@ public interface IFacade {
/**
* @deprecated Use
* {@link #getFacade(BlockView, BlockPos, Direction, BlockPos)}
* {@link #getFacade(BlockView, BlockPos, Direction, BlockPos)}
*/
@Nonnull
@Deprecated
@@ -37,7 +37,7 @@ public interface IFacade {
*/
@Nonnull
default BlockState getFacade(@Nonnull BlockView world, @Nonnull BlockPos pos, @Nullable Direction side,
@Nonnull BlockPos connection) {
@Nonnull BlockPos connection) {
return getFacade(world, pos, side);
}