Update class visibility
This commit is contained in:
parent
ee74638b9f
commit
6ac212a0b7
6 changed files with 6 additions and 6 deletions
|
@ -53,7 +53,7 @@ mod_name=Zontreck's Library Mod
|
||||||
# The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default.
|
# The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default.
|
||||||
mod_license=GPLv3
|
mod_license=GPLv3
|
||||||
# The mod version. See https://semver.org/
|
# The mod version. See https://semver.org/
|
||||||
mod_version=1201.13.042624.0634
|
mod_version=1201.13.042624.1115
|
||||||
# The group ID for the mod. It is only important when publishing as an artifact to a Maven repository.
|
# The group ID for the mod. It is only important when publishing as an artifact to a Maven repository.
|
||||||
# This should match the base package used for the mod sources.
|
# This should match the base package used for the mod sources.
|
||||||
# See https://maven.apache.org/guides/mini/guide-naming-conventions.html
|
# See https://maven.apache.org/guides/mini/guide-naming-conventions.html
|
||||||
|
|
|
@ -10,7 +10,7 @@ import net.minecraft.world.phys.shapes.VoxelShape;
|
||||||
public class BlockCustomVoxels extends PartialTransparentBlock
|
public class BlockCustomVoxels extends PartialTransparentBlock
|
||||||
{
|
{
|
||||||
private VoxelShape superShape;
|
private VoxelShape superShape;
|
||||||
protected BlockCustomVoxels(Properties p_54120_, VoxelShape shape) {
|
public BlockCustomVoxels(Properties p_54120_, VoxelShape shape) {
|
||||||
super(p_54120_);
|
super(p_54120_);
|
||||||
this.superShape = shape;
|
this.superShape = shape;
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,7 +7,7 @@ import net.minecraft.world.level.block.state.BlockState;
|
||||||
|
|
||||||
public class PartialTransparentBlock extends AbstractGlassBlock
|
public class PartialTransparentBlock extends AbstractGlassBlock
|
||||||
{
|
{
|
||||||
protected PartialTransparentBlock(Properties p_48729_) {
|
public PartialTransparentBlock(Properties p_48729_) {
|
||||||
super(p_48729_);
|
super(p_48729_);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ import net.minecraft.world.level.block.state.BlockState;
|
||||||
|
|
||||||
public class PartialTransparentSlabBlock extends SlabBlock
|
public class PartialTransparentSlabBlock extends SlabBlock
|
||||||
{
|
{
|
||||||
protected PartialTransparentSlabBlock(Properties p_48729_) {
|
public PartialTransparentSlabBlock(Properties p_48729_) {
|
||||||
super(p_48729_);
|
super(p_48729_);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ import net.minecraft.world.level.block.state.StateDefinition;
|
||||||
|
|
||||||
public class RotatableBlock extends HorizontalDirectionalBlock
|
public class RotatableBlock extends HorizontalDirectionalBlock
|
||||||
{
|
{
|
||||||
protected RotatableBlock(Properties pProperties) {
|
public RotatableBlock(Properties pProperties) {
|
||||||
super(pProperties);
|
super(pProperties);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@ public class RotatableBlockCustomVoxels extends RotatableBlock
|
||||||
{
|
{
|
||||||
private Map<Direction, VoxelShape> rotatedShapes = new HashMap<>();
|
private Map<Direction, VoxelShape> rotatedShapes = new HashMap<>();
|
||||||
|
|
||||||
protected RotatableBlockCustomVoxels(Properties properties, VoxelShape north, VoxelShape south, VoxelShape east, VoxelShape west) {
|
public RotatableBlockCustomVoxels(Properties properties, VoxelShape north, VoxelShape south, VoxelShape east, VoxelShape west) {
|
||||||
super(properties);
|
super(properties);
|
||||||
rotatedShapes = Maps.of(new Maps.Entry<>(Direction.NORTH, north), new Maps.Entry<>(Direction.SOUTH, south), new Maps.Entry<>(Direction.WEST, west), new Maps.Entry<>(Direction.EAST, east), new Maps.Entry<>(Direction.NORTH, north), new Maps.Entry<>(Direction.DOWN, north));
|
rotatedShapes = Maps.of(new Maps.Entry<>(Direction.NORTH, north), new Maps.Entry<>(Direction.SOUTH, south), new Maps.Entry<>(Direction.WEST, west), new Maps.Entry<>(Direction.EAST, east), new Maps.Entry<>(Direction.NORTH, north), new Maps.Entry<>(Direction.DOWN, north));
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue