Thallasium Chandelier (floor, WIP)
This commit is contained in:
parent
7e9d809814
commit
6b8422dae3
58 changed files with 306 additions and 87 deletions
|
@ -16,7 +16,7 @@ import net.minecraft.world.WorldAccess;
|
|||
import net.minecraft.world.WorldView;
|
||||
import ru.betterend.util.BlocksHelper;
|
||||
|
||||
public abstract class AttachedBlock extends BaseBlockNotFull {
|
||||
public abstract class AttachedBlock extends BlockBaseNotFull {
|
||||
public static final DirectionProperty FACING = Properties.FACING;
|
||||
|
||||
public AttachedBlock(Settings settings) {
|
||||
|
|
|
@ -13,8 +13,8 @@ import net.minecraft.util.registry.Registry;
|
|||
import ru.betterend.patterns.BlockPatterned;
|
||||
import ru.betterend.patterns.Patterns;
|
||||
|
||||
public class BaseBlock extends Block implements BlockPatterned {
|
||||
public BaseBlock(Settings settings) {
|
||||
public class BlockBase extends Block implements BlockPatterned {
|
||||
public BlockBase(Settings settings) {
|
||||
super(settings);
|
||||
}
|
||||
|
|
@ -5,9 +5,9 @@ import net.minecraft.entity.EntityType;
|
|||
import net.minecraft.util.math.BlockPos;
|
||||
import net.minecraft.world.BlockView;
|
||||
|
||||
public class BaseBlockNotFull extends BaseBlock {
|
||||
public class BlockBaseNotFull extends BlockBase {
|
||||
|
||||
public BaseBlockNotFull(Settings settings) {
|
||||
public BlockBaseNotFull(Settings settings) {
|
||||
super(settings);
|
||||
}
|
||||
|
|
@ -40,7 +40,7 @@ import ru.betterend.interfaces.IRenderTypeable;
|
|||
import ru.betterend.registry.EndTags;
|
||||
import ru.betterend.util.BlocksHelper;
|
||||
|
||||
public class DoublePlantBlock extends BaseBlockNotFull implements IRenderTypeable, Fertilizable {
|
||||
public class DoublePlantBlock extends BlockBaseNotFull implements IRenderTypeable, Fertilizable {
|
||||
private static final VoxelShape SHAPE = Block.createCuboidShape(4, 2, 4, 12, 16, 12);
|
||||
public static final IntProperty ROTATION = BlockProperties.ROTATION;
|
||||
public static final BooleanProperty TOP = BooleanProperty.of("top");
|
||||
|
|
|
@ -17,7 +17,7 @@ import net.minecraft.util.Identifier;
|
|||
import net.minecraft.util.registry.Registry;
|
||||
import ru.betterend.patterns.Patterns;
|
||||
|
||||
public class EndBookshelfBlock extends BaseBlock {
|
||||
public class EndBookshelfBlock extends BlockBase {
|
||||
public EndBookshelfBlock(Block source) {
|
||||
super(FabricBlockSettings.copyOf(source));
|
||||
}
|
||||
|
|
|
@ -31,7 +31,7 @@ import ru.betterend.patterns.BlockPatterned;
|
|||
import ru.betterend.patterns.Patterns;
|
||||
import ru.betterend.util.BlocksHelper;
|
||||
|
||||
public class EndLadderBlock extends BaseBlockNotFull implements IRenderTypeable, BlockPatterned {
|
||||
public class EndLadderBlock extends BlockBaseNotFull implements IRenderTypeable, BlockPatterned {
|
||||
public static final DirectionProperty FACING = HorizontalFacingBlock.FACING;
|
||||
public static final BooleanProperty WATERLOGGED = Properties.WATERLOGGED;
|
||||
protected static final VoxelShape EAST_SHAPE = Block.createCuboidShape(0.0D, 0.0D, 0.0D, 3.0D, 16.0D, 16.0D);
|
||||
|
|
|
@ -19,7 +19,7 @@ import net.minecraft.world.BlockView;
|
|||
import net.minecraft.world.WorldAccess;
|
||||
import net.minecraft.world.WorldView;
|
||||
|
||||
public class EndLanternBlock extends BaseBlockNotFull implements Waterloggable, FluidFillable {
|
||||
public class EndLanternBlock extends BlockBaseNotFull implements Waterloggable, FluidFillable {
|
||||
public static final BooleanProperty IS_FLOOR = BooleanProperty.of("is_floor");
|
||||
public static final BooleanProperty WATERLOGGED = Properties.WATERLOGGED;
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ import ru.betterend.client.render.ERenderLayer;
|
|||
import ru.betterend.interfaces.IRenderTypeable;
|
||||
import ru.betterend.registry.EndTags;
|
||||
|
||||
public class EndPlantBlock extends BaseBlockNotFull implements IRenderTypeable, Fertilizable {
|
||||
public class EndPlantBlock extends BlockBaseNotFull implements IRenderTypeable, Fertilizable {
|
||||
private static final VoxelShape SHAPE = Block.createCuboidShape(4, 0, 4, 12, 14, 12);
|
||||
|
||||
public EndPlantBlock() {
|
||||
|
|
|
@ -27,7 +27,7 @@ import ru.betterend.interfaces.IRenderTypeable;
|
|||
import ru.betterend.patterns.Patterns;
|
||||
import ru.betterend.registry.EndTags;
|
||||
|
||||
public abstract class FeatureSaplingBlock extends BaseBlockNotFull implements Fertilizable, IRenderTypeable {
|
||||
public abstract class FeatureSaplingBlock extends BlockBaseNotFull implements Fertilizable, IRenderTypeable {
|
||||
private static final VoxelShape SHAPE = Block.createCuboidShape(4, 0, 4, 12, 14, 12);
|
||||
|
||||
public FeatureSaplingBlock() {
|
||||
|
|
|
@ -43,7 +43,7 @@ import ru.betterend.patterns.Patterns;
|
|||
import ru.betterend.registry.EndBlocks;
|
||||
import ru.betterend.util.BlocksHelper;
|
||||
|
||||
public class PedestalBlock extends BaseBlockNotFull implements BlockEntityProvider {
|
||||
public class PedestalBlock extends BlockBaseNotFull implements BlockEntityProvider {
|
||||
public final static EnumProperty<PedestalState> STATE = BlockProperties.PEDESTAL_STATE;
|
||||
public static final BooleanProperty HAS_ITEM = BlockProperties.HAS_ITEM;
|
||||
public static final BooleanProperty HAS_LIGHT = BlockProperties.HAS_LIGHT;
|
||||
|
|
|
@ -12,7 +12,7 @@ import ru.betterend.client.render.ERenderLayer;
|
|||
import ru.betterend.interfaces.IRenderTypeable;
|
||||
import ru.betterend.patterns.Patterns;
|
||||
|
||||
public class SimpleLeavesBlock extends BaseBlockNotFull implements IRenderTypeable {
|
||||
public class SimpleLeavesBlock extends BlockBaseNotFull implements IRenderTypeable {
|
||||
public SimpleLeavesBlock(MaterialColor color) {
|
||||
super(FabricBlockSettings.of(Material.LEAVES)
|
||||
.strength(0.2F)
|
||||
|
|
|
@ -39,7 +39,7 @@ import ru.betterend.interfaces.IRenderTypeable;
|
|||
import ru.betterend.registry.EndBlocks;
|
||||
import ru.betterend.registry.EndTags;
|
||||
|
||||
public class UnderwaterPlantBlock extends BaseBlockNotFull implements IRenderTypeable, Fertilizable, FluidFillable {
|
||||
public class UnderwaterPlantBlock extends BlockBaseNotFull implements IRenderTypeable, Fertilizable, FluidFillable {
|
||||
private static final VoxelShape SHAPE = Block.createCuboidShape(4, 0, 4, 12, 14, 12);
|
||||
|
||||
public UnderwaterPlantBlock() {
|
||||
|
|
|
@ -30,7 +30,7 @@ import ru.betterend.client.render.ERenderLayer;
|
|||
import ru.betterend.interfaces.IRenderTypeable;
|
||||
import ru.betterend.registry.EndTags;
|
||||
|
||||
public class UpDownPlantBlock extends BaseBlockNotFull implements IRenderTypeable {
|
||||
public class UpDownPlantBlock extends BlockBaseNotFull implements IRenderTypeable {
|
||||
private static final VoxelShape SHAPE = Block.createCuboidShape(4, 0, 4, 12, 16, 12);
|
||||
|
||||
public UpDownPlantBlock() {
|
||||
|
|
|
@ -38,7 +38,7 @@ import ru.betterend.client.render.ERenderLayer;
|
|||
import ru.betterend.interfaces.IRenderTypeable;
|
||||
import ru.betterend.util.BlocksHelper;
|
||||
|
||||
public class VineBlock extends BaseBlockNotFull implements IRenderTypeable, Fertilizable {
|
||||
public class VineBlock extends BlockBaseNotFull implements IRenderTypeable, Fertilizable {
|
||||
public static final EnumProperty<TripleShape> SHAPE = BlockProperties.TRIPLE_SHAPE;
|
||||
private static final VoxelShape VOXEL_SHAPE = Block.createCuboidShape(2, 0, 2, 14, 16, 14);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue