Reformated
This commit is contained in:
parent
079b51e3f6
commit
852e5a6abc
385 changed files with 6924 additions and 5656 deletions
|
@ -1,5 +1,8 @@
|
|||
package org.betterx.bclib.blockentities;
|
||||
|
||||
import org.betterx.bclib.blocks.BaseBarrelBlock;
|
||||
import org.betterx.bclib.registry.BaseBlockEntities;
|
||||
|
||||
import net.minecraft.core.BlockPos;
|
||||
import net.minecraft.core.NonNullList;
|
||||
import net.minecraft.core.Vec3i;
|
||||
|
@ -20,9 +23,6 @@ import net.minecraft.world.level.block.entity.ChestBlockEntity;
|
|||
import net.minecraft.world.level.block.entity.RandomizableContainerBlockEntity;
|
||||
import net.minecraft.world.level.block.state.BlockState;
|
||||
|
||||
import org.betterx.bclib.blocks.BaseBarrelBlock;
|
||||
import org.betterx.bclib.registry.BaseBlockEntities;
|
||||
|
||||
public class BaseBarrelBlockEntity extends RandomizableContainerBlockEntity {
|
||||
private NonNullList<ItemStack> inventory;
|
||||
private int viewerCount;
|
||||
|
@ -143,7 +143,7 @@ public class BaseBarrelBlockEntity extends RandomizableContainerBlockEntity {
|
|||
SoundSource.BLOCKS,
|
||||
0.5F,
|
||||
this.level.random.nextFloat() * 0.1F + 0.9F
|
||||
);
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,11 +1,11 @@
|
|||
package org.betterx.bclib.blockentities;
|
||||
|
||||
import org.betterx.bclib.registry.BaseBlockEntities;
|
||||
|
||||
import net.minecraft.core.BlockPos;
|
||||
import net.minecraft.world.level.block.entity.ChestBlockEntity;
|
||||
import net.minecraft.world.level.block.state.BlockState;
|
||||
|
||||
import org.betterx.bclib.registry.BaseBlockEntities;
|
||||
|
||||
public class BaseChestBlockEntity extends ChestBlockEntity {
|
||||
public BaseChestBlockEntity(BlockPos blockPos, BlockState blockState) {
|
||||
super(BaseBlockEntities.CHEST, blockPos, blockState);
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
package org.betterx.bclib.blockentities;
|
||||
|
||||
import org.betterx.bclib.registry.BaseBlockEntities;
|
||||
|
||||
import net.minecraft.core.BlockPos;
|
||||
import net.minecraft.network.chat.Component;
|
||||
import net.minecraft.world.entity.player.Inventory;
|
||||
|
@ -9,8 +11,6 @@ import net.minecraft.world.item.crafting.RecipeType;
|
|||
import net.minecraft.world.level.block.entity.AbstractFurnaceBlockEntity;
|
||||
import net.minecraft.world.level.block.state.BlockState;
|
||||
|
||||
import org.betterx.bclib.registry.BaseBlockEntities;
|
||||
|
||||
public class BaseFurnaceBlockEntity extends AbstractFurnaceBlockEntity {
|
||||
public BaseFurnaceBlockEntity(BlockPos blockPos, BlockState blockState) {
|
||||
super(BaseBlockEntities.FURNACE, blockPos, blockState, RecipeType.SMELTING);
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
package org.betterx.bclib.blockentities;
|
||||
|
||||
import org.betterx.bclib.registry.BaseBlockEntities;
|
||||
|
||||
import net.minecraft.core.BlockPos;
|
||||
import net.minecraft.world.level.block.entity.BlockEntityType;
|
||||
import net.minecraft.world.level.block.entity.SignBlockEntity;
|
||||
import net.minecraft.world.level.block.state.BlockState;
|
||||
|
||||
import org.betterx.bclib.registry.BaseBlockEntities;
|
||||
|
||||
public class BaseSignBlockEntity extends SignBlockEntity {
|
||||
public BaseSignBlockEntity(BlockPos blockPos, BlockState blockState) {
|
||||
super(blockPos, blockState);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue