-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changed electrical plug id to "socket", modified biome generation val…
…ues, removed completely bacteria (rest in peace) and added jumbled documents
- Loading branch information
1 parent
f1b61f2
commit c6c5486
Showing
58 changed files
with
173 additions
and
1,037 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 37 additions & 0 deletions
37
src/main/java/net/limit/cubliminal/block/custom/JumbledDocumentsBlock.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
package net.limit.cubliminal.block.custom; | ||
|
||
import com.mojang.serialization.MapCodec; | ||
import net.minecraft.block.Block; | ||
import net.minecraft.block.BlockState; | ||
import net.minecraft.block.HorizontalFacingBlock; | ||
import net.minecraft.state.StateManager; | ||
import net.minecraft.state.property.DirectionProperty; | ||
import net.minecraft.util.math.BlockPos; | ||
import net.minecraft.util.math.Direction; | ||
import net.minecraft.util.shape.VoxelShape; | ||
import net.minecraft.world.WorldView; | ||
|
||
public class JumbledDocumentsBlock extends HorizontalFacingBlock { | ||
public static final MapCodec<JumbledDocumentsBlock> CODEC = JumbledDocumentsBlock.createCodec(JumbledDocumentsBlock::new); | ||
public static final DirectionProperty FACING = HorizontalFacingBlock.FACING; | ||
protected static final VoxelShape SHAPE = Block.createCuboidShape(0.0, 0.0, 0.0, 16.0, 2.0, 16.0); | ||
protected JumbledDocumentsBlock(Settings settings) { | ||
super(settings); | ||
this.setDefaultState(this.getDefaultState().with(FACING, Direction.NORTH)); | ||
} | ||
|
||
@Override | ||
protected void appendProperties(StateManager.Builder<Block, BlockState> builder) { | ||
builder.add(FACING); | ||
} | ||
|
||
@Override | ||
public boolean canPlaceAt(BlockState state, WorldView world, BlockPos pos) { | ||
return hasTopRim(world, pos.down()); | ||
} | ||
|
||
@Override | ||
protected MapCodec<? extends HorizontalFacingBlock> getCodec() { | ||
return CODEC; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
47 changes: 0 additions & 47 deletions
47
src/main/java/net/limit/cubliminal/block/entity/FluorescentLightBlockEntity.java
This file was deleted.
Oops, something went wrong.
47 changes: 0 additions & 47 deletions
47
src/main/java/net/limit/cubliminal/block/entity/FusedFluorescentLightBlockEntity.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.