mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-05 08:29:09 +01:00
Added booklet item, refactored blocks to new packages
This commit is contained in:
parent
0289a04815
commit
2445784f5c
53 changed files with 113 additions and 54 deletions
|
@ -22,7 +22,7 @@ public class ActuallyAdditions {
|
||||||
public static final ItemGroup ACTUALLY_GROUP = new ItemGroup(MOD_ID) {
|
public static final ItemGroup ACTUALLY_GROUP = new ItemGroup(MOD_ID) {
|
||||||
@Override
|
@Override
|
||||||
public ItemStack createIcon() {
|
public ItemStack createIcon() {
|
||||||
return new ItemStack(ActuallyBlocks.blockEmpowerer.get());
|
return new ItemStack(ActuallyItems.BOOKLET.get());
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,14 @@
|
||||||
package de.ellpeck.actuallyadditions.common.blocks;
|
package de.ellpeck.actuallyadditions.common.blocks;
|
||||||
|
|
||||||
import de.ellpeck.actuallyadditions.common.ActuallyAdditions;
|
import de.ellpeck.actuallyadditions.common.ActuallyAdditions;
|
||||||
|
import de.ellpeck.actuallyadditions.common.blocks.building.CrystalBlock;
|
||||||
|
import de.ellpeck.actuallyadditions.common.blocks.building.CrystalClusterBlock;
|
||||||
|
import de.ellpeck.actuallyadditions.common.blocks.building.FenceBlock;
|
||||||
|
import de.ellpeck.actuallyadditions.common.blocks.building.WallBlock;
|
||||||
|
import de.ellpeck.actuallyadditions.common.blocks.functional.*;
|
||||||
|
import de.ellpeck.actuallyadditions.common.blocks.misc.TinyTorchBlock;
|
||||||
|
import de.ellpeck.actuallyadditions.common.blocks.plant.BlackLotusBlock;
|
||||||
|
import de.ellpeck.actuallyadditions.common.blocks.plant.PlantBlock;
|
||||||
import de.ellpeck.actuallyadditions.common.blocks.types.Crystals;
|
import de.ellpeck.actuallyadditions.common.blocks.types.Crystals;
|
||||||
import de.ellpeck.actuallyadditions.common.blocks.types.LaserRelays;
|
import de.ellpeck.actuallyadditions.common.blocks.types.LaserRelays;
|
||||||
import de.ellpeck.actuallyadditions.common.blocks.types.PhantomType;
|
import de.ellpeck.actuallyadditions.common.blocks.types.PhantomType;
|
||||||
|
@ -117,15 +125,15 @@ public class ActuallyBlocks {
|
||||||
public static final RegistryObject<Block> WHITE_STAIRS = BLOCKS.register("white_stairs_block", () -> new StairsBlock(() -> WHITE_WALL.get().getDefaultState(), Block.Properties.create(Material.ROCK)));
|
public static final RegistryObject<Block> WHITE_STAIRS = BLOCKS.register("white_stairs_block", () -> new StairsBlock(() -> WHITE_WALL.get().getDefaultState(), Block.Properties.create(Material.ROCK)));
|
||||||
public static final RegistryObject<Block> GREEN_SLAB = BLOCKS.register("green_slab_block", () -> new SlabBlock(Block.Properties.create(Material.ROCK)));
|
public static final RegistryObject<Block> GREEN_SLAB = BLOCKS.register("green_slab_block", () -> new SlabBlock(Block.Properties.create(Material.ROCK)));
|
||||||
public static final RegistryObject<Block> WHITE_SLAB = BLOCKS.register("white_slab_block", () -> new SlabBlock(Block.Properties.create(Material.ROCK)));
|
public static final RegistryObject<Block> WHITE_SLAB = BLOCKS.register("white_slab_block", () -> new SlabBlock(Block.Properties.create(Material.ROCK)));
|
||||||
public static final RegistryObject<Block> GREEN_FENCE = BLOCKS.register("green_fence_block", () -> new FenceBlock(Block.Properties.create(Material.ROCK)));
|
public static final RegistryObject<Block> GREEN_FENCE = BLOCKS.register("green_fence_block", () -> new de.ellpeck.actuallyadditions.common.blocks.building.FenceBlock(Block.Properties.create(Material.ROCK)));
|
||||||
public static final RegistryObject<Block> WHITE_FENCE = BLOCKS.register("white_fence_block", () -> new FenceBlock(Block.Properties.create(Material.ROCK)));
|
public static final RegistryObject<Block> WHITE_FENCE = BLOCKS.register("white_fence_block", () -> new FenceBlock(Block.Properties.create(Material.ROCK)));
|
||||||
|
|
||||||
public static final RegistryObject<Block> BLACK_QUARTZ = BLOCKS.register("black_quartz_block", () -> new Block(Block.Properties.create(Material.ROCK)));
|
public static final RegistryObject<Block> BLACK_QUARTZ = BLOCKS.register("black_quartz_block", () -> new Block(Block.Properties.create(Material.ROCK)));
|
||||||
public static final RegistryObject<Block> BLACK_QUARTZ_CHISELED = BLOCKS.register("black_quartz_chiseled_block", () -> new Block(Block.Properties.create(Material.ROCK)));
|
public static final RegistryObject<Block> BLACK_QUARTZ_CHISELED = BLOCKS.register("black_quartz_chiseled_block", () -> new Block(Block.Properties.create(Material.ROCK)));
|
||||||
public static final RegistryObject<Block> BLACK_QUARTZ_PILLAR = BLOCKS.register("black_quartz_pillar_block", () -> new Block(Block.Properties.create(Material.ROCK)));
|
public static final RegistryObject<Block> BLACK_QUARTZ_PILLAR = BLOCKS.register("black_quartz_pillar_block", () -> new Block(Block.Properties.create(Material.ROCK)));
|
||||||
|
|
||||||
public static final RegistryObject<Block> BLACK_QUARTZ_WALL = BLOCKS.register("black_quartz_wall_block", () -> new WallBlock(AbstractBlock.Properties.from(BLACK_QUARTZ.get())));
|
public static final RegistryObject<Block> BLACK_QUARTZ_WALL = BLOCKS.register("black_quartz_wall_block", () -> new de.ellpeck.actuallyadditions.common.blocks.building.WallBlock(AbstractBlock.Properties.from(BLACK_QUARTZ.get())));
|
||||||
public static final RegistryObject<Block> BLACK_CHISELED_QUARTZ_WALL = BLOCKS.register("black_chiseled_quartz_wall_block", () -> new WallBlock(AbstractBlock.Properties.from(BLACK_QUARTZ_CHISELED.get())));
|
public static final RegistryObject<Block> BLACK_CHISELED_QUARTZ_WALL = BLOCKS.register("black_chiseled_quartz_wall_block", () -> new de.ellpeck.actuallyadditions.common.blocks.building.WallBlock(AbstractBlock.Properties.from(BLACK_QUARTZ_CHISELED.get())));
|
||||||
public static final RegistryObject<Block> BLACK_PILLAR_QUARTZ_WALL = BLOCKS.register("black_pillar_quartz_wall_block", () -> new WallBlock(AbstractBlock.Properties.from(BLACK_QUARTZ_PILLAR.get())));
|
public static final RegistryObject<Block> BLACK_PILLAR_QUARTZ_WALL = BLOCKS.register("black_pillar_quartz_wall_block", () -> new WallBlock(AbstractBlock.Properties.from(BLACK_QUARTZ_PILLAR.get())));
|
||||||
public static final RegistryObject<Block> BLACK_QUARTZ_STAIR = BLOCKS.register("black_quartz_stair_block", () -> new StairsBlock(() -> BLACK_QUARTZ.get().getDefaultState(), Block.Properties.create(Material.ROCK)));
|
public static final RegistryObject<Block> BLACK_QUARTZ_STAIR = BLOCKS.register("black_quartz_stair_block", () -> new StairsBlock(() -> BLACK_QUARTZ.get().getDefaultState(), Block.Properties.create(Material.ROCK)));
|
||||||
public static final RegistryObject<Block> BLACK_CHISELED_QUARTZ_STAIR = BLOCKS.register("black_chiseled_quartz_stair_block", () -> new StairsBlock(() -> BLACK_QUARTZ.get().getDefaultState(), Block.Properties.create(Material.ROCK)));
|
public static final RegistryObject<Block> BLACK_CHISELED_QUARTZ_STAIR = BLOCKS.register("black_chiseled_quartz_stair_block", () -> new StairsBlock(() -> BLACK_QUARTZ.get().getDefaultState(), Block.Properties.create(Material.ROCK)));
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
package de.ellpeck.actuallyadditions.common.blocks;
|
package de.ellpeck.actuallyadditions.common.blocks.building;
|
||||||
|
|
||||||
|
import de.ellpeck.actuallyadditions.common.blocks.ActuallyBlock;
|
||||||
import net.minecraft.block.material.Material;
|
import net.minecraft.block.material.Material;
|
||||||
|
|
||||||
public class CrystalBlock extends ActuallyBlock {
|
public class CrystalBlock extends ActuallyBlock {
|
|
@ -1,5 +1,6 @@
|
||||||
package de.ellpeck.actuallyadditions.common.blocks;
|
package de.ellpeck.actuallyadditions.common.blocks.building;
|
||||||
|
|
||||||
|
import de.ellpeck.actuallyadditions.common.blocks.ActuallyBlock;
|
||||||
import de.ellpeck.actuallyadditions.common.blocks.types.Crystals;
|
import de.ellpeck.actuallyadditions.common.blocks.types.Crystals;
|
||||||
import net.minecraft.block.material.Material;
|
import net.minecraft.block.material.Material;
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
package de.ellpeck.actuallyadditions.common.blocks;
|
package de.ellpeck.actuallyadditions.common.blocks.building;
|
||||||
|
|
||||||
import de.ellpeck.actuallyadditions.common.ActuallyAdditions;
|
import de.ellpeck.actuallyadditions.common.ActuallyAdditions;
|
||||||
|
import de.ellpeck.actuallyadditions.common.blocks.IActuallyBlock;
|
||||||
import net.minecraft.item.BlockItem;
|
import net.minecraft.item.BlockItem;
|
||||||
import net.minecraft.item.Item;
|
import net.minecraft.item.Item;
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
package de.ellpeck.actuallyadditions.common.blocks;
|
package de.ellpeck.actuallyadditions.common.blocks.building;
|
||||||
|
|
||||||
import de.ellpeck.actuallyadditions.common.ActuallyAdditions;
|
import de.ellpeck.actuallyadditions.common.ActuallyAdditions;
|
||||||
|
import de.ellpeck.actuallyadditions.common.blocks.IActuallyBlock;
|
||||||
import net.minecraft.item.BlockItem;
|
import net.minecraft.item.BlockItem;
|
||||||
import net.minecraft.item.Item;
|
import net.minecraft.item.Item;
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
package de.ellpeck.actuallyadditions.common.blocks;
|
package de.ellpeck.actuallyadditions.common.blocks.functional;
|
||||||
|
|
||||||
|
import de.ellpeck.actuallyadditions.common.blocks.ActuallyBlock;
|
||||||
import net.minecraft.block.material.Material;
|
import net.minecraft.block.material.Material;
|
||||||
|
|
||||||
public class AtomicReconstructorBlock extends ActuallyBlock {
|
public class AtomicReconstructorBlock extends ActuallyBlock {
|
|
@ -1,5 +1,6 @@
|
||||||
package de.ellpeck.actuallyadditions.common.blocks;
|
package de.ellpeck.actuallyadditions.common.blocks.functional;
|
||||||
|
|
||||||
|
import de.ellpeck.actuallyadditions.common.blocks.ActuallyBlock;
|
||||||
import net.minecraft.block.material.Material;
|
import net.minecraft.block.material.Material;
|
||||||
|
|
||||||
public class BatteryBoxBlock extends ActuallyBlock {
|
public class BatteryBoxBlock extends ActuallyBlock {
|
|
@ -1,5 +1,6 @@
|
||||||
package de.ellpeck.actuallyadditions.common.blocks;
|
package de.ellpeck.actuallyadditions.common.blocks.functional;
|
||||||
|
|
||||||
|
import de.ellpeck.actuallyadditions.common.blocks.ActuallyBlock;
|
||||||
import net.minecraft.block.material.Material;
|
import net.minecraft.block.material.Material;
|
||||||
|
|
||||||
public class BioReactorBlock extends ActuallyBlock {
|
public class BioReactorBlock extends ActuallyBlock {
|
|
@ -1,5 +1,6 @@
|
||||||
package de.ellpeck.actuallyadditions.common.blocks;
|
package de.ellpeck.actuallyadditions.common.blocks.functional;
|
||||||
|
|
||||||
|
import de.ellpeck.actuallyadditions.common.blocks.ActuallyBlock;
|
||||||
import net.minecraft.block.material.Material;
|
import net.minecraft.block.material.Material;
|
||||||
|
|
||||||
public class BreakerBlock extends ActuallyBlock {
|
public class BreakerBlock extends ActuallyBlock {
|
|
@ -1,5 +1,6 @@
|
||||||
package de.ellpeck.actuallyadditions.common.blocks;
|
package de.ellpeck.actuallyadditions.common.blocks.functional;
|
||||||
|
|
||||||
|
import de.ellpeck.actuallyadditions.common.blocks.ActuallyBlock;
|
||||||
import net.minecraft.block.material.Material;
|
import net.minecraft.block.material.Material;
|
||||||
|
|
||||||
public class CanolaPressBlock extends ActuallyBlock {
|
public class CanolaPressBlock extends ActuallyBlock {
|
|
@ -1,5 +1,6 @@
|
||||||
package de.ellpeck.actuallyadditions.common.blocks;
|
package de.ellpeck.actuallyadditions.common.blocks.functional;
|
||||||
|
|
||||||
|
import de.ellpeck.actuallyadditions.common.blocks.ActuallyBlock;
|
||||||
import net.minecraft.block.material.Material;
|
import net.minecraft.block.material.Material;
|
||||||
|
|
||||||
public class CoalGeneratorBlock extends ActuallyBlock {
|
public class CoalGeneratorBlock extends ActuallyBlock {
|
|
@ -1,5 +1,6 @@
|
||||||
package de.ellpeck.actuallyadditions.common.blocks;
|
package de.ellpeck.actuallyadditions.common.blocks.functional;
|
||||||
|
|
||||||
|
import de.ellpeck.actuallyadditions.common.blocks.ActuallyBlock;
|
||||||
import net.minecraft.block.material.Material;
|
import net.minecraft.block.material.Material;
|
||||||
|
|
||||||
public class CoffeeMachineBlock extends ActuallyBlock {
|
public class CoffeeMachineBlock extends ActuallyBlock {
|
|
@ -1,5 +1,6 @@
|
||||||
package de.ellpeck.actuallyadditions.common.blocks;
|
package de.ellpeck.actuallyadditions.common.blocks.functional;
|
||||||
|
|
||||||
|
import de.ellpeck.actuallyadditions.common.blocks.ActuallyBlock;
|
||||||
import net.minecraft.block.Block;
|
import net.minecraft.block.Block;
|
||||||
import net.minecraft.block.BlockState;
|
import net.minecraft.block.BlockState;
|
||||||
import net.minecraft.block.material.Material;
|
import net.minecraft.block.material.Material;
|
|
@ -1,5 +1,6 @@
|
||||||
package de.ellpeck.actuallyadditions.common.blocks;
|
package de.ellpeck.actuallyadditions.common.blocks.functional;
|
||||||
|
|
||||||
|
import de.ellpeck.actuallyadditions.common.blocks.ActuallyBlock;
|
||||||
import net.minecraft.block.material.Material;
|
import net.minecraft.block.material.Material;
|
||||||
|
|
||||||
public class DirectionalBreakerBlock extends ActuallyBlock {
|
public class DirectionalBreakerBlock extends ActuallyBlock {
|
|
@ -1,5 +1,6 @@
|
||||||
package de.ellpeck.actuallyadditions.common.blocks;
|
package de.ellpeck.actuallyadditions.common.blocks.functional;
|
||||||
|
|
||||||
|
import de.ellpeck.actuallyadditions.common.blocks.ActuallyBlock;
|
||||||
import net.minecraft.block.material.Material;
|
import net.minecraft.block.material.Material;
|
||||||
|
|
||||||
public class DisplayStandBlock extends ActuallyBlock {
|
public class DisplayStandBlock extends ActuallyBlock {
|
|
@ -1,5 +1,6 @@
|
||||||
package de.ellpeck.actuallyadditions.common.blocks;
|
package de.ellpeck.actuallyadditions.common.blocks.functional;
|
||||||
|
|
||||||
|
import de.ellpeck.actuallyadditions.common.blocks.ActuallyBlock;
|
||||||
import net.minecraft.block.material.Material;
|
import net.minecraft.block.material.Material;
|
||||||
|
|
||||||
public class EmpowererBlock extends ActuallyBlock {
|
public class EmpowererBlock extends ActuallyBlock {
|
|
@ -1,5 +1,6 @@
|
||||||
package de.ellpeck.actuallyadditions.common.blocks;
|
package de.ellpeck.actuallyadditions.common.blocks.functional;
|
||||||
|
|
||||||
|
import de.ellpeck.actuallyadditions.common.blocks.ActuallyBlock;
|
||||||
import net.minecraft.block.material.Material;
|
import net.minecraft.block.material.Material;
|
||||||
|
|
||||||
public class EnergizerBlock extends ActuallyBlock {
|
public class EnergizerBlock extends ActuallyBlock {
|
|
@ -1,5 +1,6 @@
|
||||||
package de.ellpeck.actuallyadditions.common.blocks;
|
package de.ellpeck.actuallyadditions.common.blocks.functional;
|
||||||
|
|
||||||
|
import de.ellpeck.actuallyadditions.common.blocks.ActuallyBlock;
|
||||||
import net.minecraft.block.material.Material;
|
import net.minecraft.block.material.Material;
|
||||||
|
|
||||||
public class FarmerBlock extends ActuallyBlock {
|
public class FarmerBlock extends ActuallyBlock {
|
|
@ -1,5 +1,6 @@
|
||||||
package de.ellpeck.actuallyadditions.common.blocks;
|
package de.ellpeck.actuallyadditions.common.blocks.functional;
|
||||||
|
|
||||||
|
import de.ellpeck.actuallyadditions.common.blocks.ActuallyBlock;
|
||||||
import net.minecraft.block.material.Material;
|
import net.minecraft.block.material.Material;
|
||||||
|
|
||||||
public class FeederBlock extends ActuallyBlock {
|
public class FeederBlock extends ActuallyBlock {
|
|
@ -1,5 +1,6 @@
|
||||||
package de.ellpeck.actuallyadditions.common.blocks;
|
package de.ellpeck.actuallyadditions.common.blocks.functional;
|
||||||
|
|
||||||
|
import de.ellpeck.actuallyadditions.common.blocks.ActuallyBlock;
|
||||||
import net.minecraft.block.material.Material;
|
import net.minecraft.block.material.Material;
|
||||||
|
|
||||||
public class FermentingBarrelBlock extends ActuallyBlock {
|
public class FermentingBarrelBlock extends ActuallyBlock {
|
|
@ -1,5 +1,6 @@
|
||||||
package de.ellpeck.actuallyadditions.common.blocks;
|
package de.ellpeck.actuallyadditions.common.blocks.functional;
|
||||||
|
|
||||||
|
import de.ellpeck.actuallyadditions.common.blocks.ActuallyBlock;
|
||||||
import net.minecraft.block.material.Material;
|
import net.minecraft.block.material.Material;
|
||||||
|
|
||||||
public class FireworkBoxBlock extends ActuallyBlock {
|
public class FireworkBoxBlock extends ActuallyBlock {
|
|
@ -1,5 +1,6 @@
|
||||||
package de.ellpeck.actuallyadditions.common.blocks;
|
package de.ellpeck.actuallyadditions.common.blocks.functional;
|
||||||
|
|
||||||
|
import de.ellpeck.actuallyadditions.common.blocks.ActuallyBlock;
|
||||||
import net.minecraft.block.material.Material;
|
import net.minecraft.block.material.Material;
|
||||||
|
|
||||||
public class FishingNetBlock extends ActuallyBlock {
|
public class FishingNetBlock extends ActuallyBlock {
|
|
@ -1,5 +1,6 @@
|
||||||
package de.ellpeck.actuallyadditions.common.blocks;
|
package de.ellpeck.actuallyadditions.common.blocks.functional;
|
||||||
|
|
||||||
|
import de.ellpeck.actuallyadditions.common.blocks.ActuallyBlock;
|
||||||
import net.minecraft.block.material.Material;
|
import net.minecraft.block.material.Material;
|
||||||
|
|
||||||
public class FluidCollectorBlock extends ActuallyBlock {
|
public class FluidCollectorBlock extends ActuallyBlock {
|
|
@ -1,5 +1,6 @@
|
||||||
package de.ellpeck.actuallyadditions.common.blocks;
|
package de.ellpeck.actuallyadditions.common.blocks.functional;
|
||||||
|
|
||||||
|
import de.ellpeck.actuallyadditions.common.blocks.ActuallyBlock;
|
||||||
import net.minecraft.block.material.Material;
|
import net.minecraft.block.material.Material;
|
||||||
|
|
||||||
public class FurnaceDoubleBlock extends ActuallyBlock {
|
public class FurnaceDoubleBlock extends ActuallyBlock {
|
|
@ -1,5 +1,6 @@
|
||||||
package de.ellpeck.actuallyadditions.common.blocks;
|
package de.ellpeck.actuallyadditions.common.blocks.functional;
|
||||||
|
|
||||||
|
import de.ellpeck.actuallyadditions.common.blocks.ActuallyBlock;
|
||||||
import net.minecraft.block.material.Material;
|
import net.minecraft.block.material.Material;
|
||||||
|
|
||||||
public class FurnaceSolarBlock extends ActuallyBlock {
|
public class FurnaceSolarBlock extends ActuallyBlock {
|
|
@ -1,5 +1,6 @@
|
||||||
package de.ellpeck.actuallyadditions.common.blocks;
|
package de.ellpeck.actuallyadditions.common.blocks.functional;
|
||||||
|
|
||||||
|
import de.ellpeck.actuallyadditions.common.blocks.ActuallyBlock;
|
||||||
import net.minecraft.block.material.Material;
|
import net.minecraft.block.material.Material;
|
||||||
|
|
||||||
public class GreenhouseGlassBlock extends ActuallyBlock {
|
public class GreenhouseGlassBlock extends ActuallyBlock {
|
|
@ -1,5 +1,6 @@
|
||||||
package de.ellpeck.actuallyadditions.common.blocks;
|
package de.ellpeck.actuallyadditions.common.blocks.functional;
|
||||||
|
|
||||||
|
import de.ellpeck.actuallyadditions.common.blocks.ActuallyBlock;
|
||||||
import net.minecraft.block.material.Material;
|
import net.minecraft.block.material.Material;
|
||||||
|
|
||||||
public class GrinderBlock extends ActuallyBlock {
|
public class GrinderBlock extends ActuallyBlock {
|
|
@ -1,5 +1,6 @@
|
||||||
package de.ellpeck.actuallyadditions.common.blocks;
|
package de.ellpeck.actuallyadditions.common.blocks.functional;
|
||||||
|
|
||||||
|
import de.ellpeck.actuallyadditions.common.blocks.ActuallyBlock;
|
||||||
import net.minecraft.block.material.Material;
|
import net.minecraft.block.material.Material;
|
||||||
|
|
||||||
public class HeatCollectorBlock extends ActuallyBlock {
|
public class HeatCollectorBlock extends ActuallyBlock {
|
|
@ -1,5 +1,6 @@
|
||||||
package de.ellpeck.actuallyadditions.common.blocks;
|
package de.ellpeck.actuallyadditions.common.blocks.functional;
|
||||||
|
|
||||||
|
import de.ellpeck.actuallyadditions.common.blocks.ActuallyBlock;
|
||||||
import net.minecraft.block.material.Material;
|
import net.minecraft.block.material.Material;
|
||||||
|
|
||||||
public class InputterBlock extends ActuallyBlock {
|
public class InputterBlock extends ActuallyBlock {
|
|
@ -1,5 +1,6 @@
|
||||||
package de.ellpeck.actuallyadditions.common.blocks;
|
package de.ellpeck.actuallyadditions.common.blocks.functional;
|
||||||
|
|
||||||
|
import de.ellpeck.actuallyadditions.common.blocks.ActuallyBlock;
|
||||||
import net.minecraft.block.material.Material;
|
import net.minecraft.block.material.Material;
|
||||||
|
|
||||||
public class ItemRepairerBlock extends ActuallyBlock {
|
public class ItemRepairerBlock extends ActuallyBlock {
|
|
@ -1,5 +1,6 @@
|
||||||
package de.ellpeck.actuallyadditions.common.blocks;
|
package de.ellpeck.actuallyadditions.common.blocks.functional;
|
||||||
|
|
||||||
|
import de.ellpeck.actuallyadditions.common.blocks.ActuallyBlock;
|
||||||
import net.minecraft.block.material.Material;
|
import net.minecraft.block.material.Material;
|
||||||
|
|
||||||
public class ItemViewerBlock extends ActuallyBlock {
|
public class ItemViewerBlock extends ActuallyBlock {
|
|
@ -1,5 +1,6 @@
|
||||||
package de.ellpeck.actuallyadditions.common.blocks;
|
package de.ellpeck.actuallyadditions.common.blocks.functional;
|
||||||
|
|
||||||
|
import de.ellpeck.actuallyadditions.common.blocks.ActuallyBlock;
|
||||||
import net.minecraft.block.material.Material;
|
import net.minecraft.block.material.Material;
|
||||||
|
|
||||||
public class ItemViewerHoppingBlock extends ActuallyBlock {
|
public class ItemViewerHoppingBlock extends ActuallyBlock {
|
|
@ -1,5 +1,6 @@
|
||||||
package de.ellpeck.actuallyadditions.common.blocks;
|
package de.ellpeck.actuallyadditions.common.blocks.functional;
|
||||||
|
|
||||||
|
import de.ellpeck.actuallyadditions.common.blocks.ActuallyBlock;
|
||||||
import net.minecraft.block.material.Material;
|
import net.minecraft.block.material.Material;
|
||||||
|
|
||||||
public class LampPowererBlock extends ActuallyBlock {
|
public class LampPowererBlock extends ActuallyBlock {
|
|
@ -1,5 +1,6 @@
|
||||||
package de.ellpeck.actuallyadditions.common.blocks;
|
package de.ellpeck.actuallyadditions.common.blocks.functional;
|
||||||
|
|
||||||
|
import de.ellpeck.actuallyadditions.common.blocks.ActuallyBlock;
|
||||||
import de.ellpeck.actuallyadditions.common.blocks.types.LaserRelays;
|
import de.ellpeck.actuallyadditions.common.blocks.types.LaserRelays;
|
||||||
import net.minecraft.block.material.Material;
|
import net.minecraft.block.material.Material;
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
package de.ellpeck.actuallyadditions.common.blocks;
|
package de.ellpeck.actuallyadditions.common.blocks.functional;
|
||||||
|
|
||||||
|
import de.ellpeck.actuallyadditions.common.blocks.ActuallyBlock;
|
||||||
import net.minecraft.block.material.Material;
|
import net.minecraft.block.material.Material;
|
||||||
|
|
||||||
public class LavaFactoryControllerBlock extends ActuallyBlock {
|
public class LavaFactoryControllerBlock extends ActuallyBlock {
|
|
@ -1,5 +1,6 @@
|
||||||
package de.ellpeck.actuallyadditions.common.blocks;
|
package de.ellpeck.actuallyadditions.common.blocks.functional;
|
||||||
|
|
||||||
|
import de.ellpeck.actuallyadditions.common.blocks.ActuallyBlock;
|
||||||
import net.minecraft.block.material.Material;
|
import net.minecraft.block.material.Material;
|
||||||
|
|
||||||
public class LeafGeneratorBlock extends ActuallyBlock {
|
public class LeafGeneratorBlock extends ActuallyBlock {
|
|
@ -1,5 +1,6 @@
|
||||||
package de.ellpeck.actuallyadditions.common.blocks;
|
package de.ellpeck.actuallyadditions.common.blocks.functional;
|
||||||
|
|
||||||
|
import de.ellpeck.actuallyadditions.common.blocks.ActuallyBlock;
|
||||||
import net.minecraft.block.material.Material;
|
import net.minecraft.block.material.Material;
|
||||||
|
|
||||||
public class MinerBlock extends ActuallyBlock {
|
public class MinerBlock extends ActuallyBlock {
|
|
@ -1,5 +1,6 @@
|
||||||
package de.ellpeck.actuallyadditions.common.blocks;
|
package de.ellpeck.actuallyadditions.common.blocks.functional;
|
||||||
|
|
||||||
|
import de.ellpeck.actuallyadditions.common.blocks.ActuallyBlock;
|
||||||
import net.minecraft.block.material.Material;
|
import net.minecraft.block.material.Material;
|
||||||
|
|
||||||
public class OilGeneratorBlock extends ActuallyBlock {
|
public class OilGeneratorBlock extends ActuallyBlock {
|
|
@ -1,5 +1,6 @@
|
||||||
package de.ellpeck.actuallyadditions.common.blocks;
|
package de.ellpeck.actuallyadditions.common.blocks.functional;
|
||||||
|
|
||||||
|
import de.ellpeck.actuallyadditions.common.blocks.ActuallyBlock;
|
||||||
import de.ellpeck.actuallyadditions.common.blocks.types.PhantomType;
|
import de.ellpeck.actuallyadditions.common.blocks.types.PhantomType;
|
||||||
import net.minecraft.block.material.Material;
|
import net.minecraft.block.material.Material;
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
package de.ellpeck.actuallyadditions.common.blocks;
|
package de.ellpeck.actuallyadditions.common.blocks.functional;
|
||||||
|
|
||||||
|
import de.ellpeck.actuallyadditions.common.blocks.ActuallyBlock;
|
||||||
import net.minecraft.block.material.Material;
|
import net.minecraft.block.material.Material;
|
||||||
|
|
||||||
public class PhantomBoosterBlock extends ActuallyBlock {
|
public class PhantomBoosterBlock extends ActuallyBlock {
|
|
@ -1,5 +1,6 @@
|
||||||
package de.ellpeck.actuallyadditions.common.blocks;
|
package de.ellpeck.actuallyadditions.common.blocks.functional;
|
||||||
|
|
||||||
|
import de.ellpeck.actuallyadditions.common.blocks.ActuallyBlock;
|
||||||
import net.minecraft.block.material.Material;
|
import net.minecraft.block.material.Material;
|
||||||
|
|
||||||
public class PlayerInterfaceBlock extends ActuallyBlock {
|
public class PlayerInterfaceBlock extends ActuallyBlock {
|
|
@ -1,5 +1,6 @@
|
||||||
package de.ellpeck.actuallyadditions.common.blocks;
|
package de.ellpeck.actuallyadditions.common.blocks.functional;
|
||||||
|
|
||||||
|
import de.ellpeck.actuallyadditions.common.blocks.ActuallyBlock;
|
||||||
import net.minecraft.block.material.Material;
|
import net.minecraft.block.material.Material;
|
||||||
|
|
||||||
public class RangedCollectorBlock extends ActuallyBlock {
|
public class RangedCollectorBlock extends ActuallyBlock {
|
|
@ -1,5 +1,6 @@
|
||||||
package de.ellpeck.actuallyadditions.common.blocks;
|
package de.ellpeck.actuallyadditions.common.blocks.functional;
|
||||||
|
|
||||||
|
import de.ellpeck.actuallyadditions.common.blocks.ActuallyBlock;
|
||||||
import net.minecraft.block.material.Material;
|
import net.minecraft.block.material.Material;
|
||||||
|
|
||||||
public class ShockSuppressorBlock extends ActuallyBlock {
|
public class ShockSuppressorBlock extends ActuallyBlock {
|
|
@ -1,5 +1,6 @@
|
||||||
package de.ellpeck.actuallyadditions.common.blocks;
|
package de.ellpeck.actuallyadditions.common.blocks.functional;
|
||||||
|
|
||||||
|
import de.ellpeck.actuallyadditions.common.blocks.ActuallyBlock;
|
||||||
import net.minecraft.block.material.Material;
|
import net.minecraft.block.material.Material;
|
||||||
|
|
||||||
public class SmileyCloudBlock extends ActuallyBlock {
|
public class SmileyCloudBlock extends ActuallyBlock {
|
|
@ -1,5 +1,6 @@
|
||||||
package de.ellpeck.actuallyadditions.common.blocks;
|
package de.ellpeck.actuallyadditions.common.blocks.functional;
|
||||||
|
|
||||||
|
import de.ellpeck.actuallyadditions.common.blocks.ActuallyBlock;
|
||||||
import net.minecraft.block.material.Material;
|
import net.minecraft.block.material.Material;
|
||||||
|
|
||||||
public class TreasureChestBlock extends ActuallyBlock {
|
public class TreasureChestBlock extends ActuallyBlock {
|
|
@ -1,5 +1,6 @@
|
||||||
package de.ellpeck.actuallyadditions.common.blocks;
|
package de.ellpeck.actuallyadditions.common.blocks.functional;
|
||||||
|
|
||||||
|
import de.ellpeck.actuallyadditions.common.blocks.ActuallyBlock;
|
||||||
import net.minecraft.block.material.Material;
|
import net.minecraft.block.material.Material;
|
||||||
|
|
||||||
public class XPSolidifierBlock extends ActuallyBlock {
|
public class XPSolidifierBlock extends ActuallyBlock {
|
|
@ -1,5 +1,6 @@
|
||||||
package de.ellpeck.actuallyadditions.common.blocks;
|
package de.ellpeck.actuallyadditions.common.blocks.misc;
|
||||||
|
|
||||||
|
import de.ellpeck.actuallyadditions.common.blocks.ActuallyBlock;
|
||||||
import net.minecraft.block.material.Material;
|
import net.minecraft.block.material.Material;
|
||||||
import net.minecraft.client.util.ITooltipFlag;
|
import net.minecraft.client.util.ITooltipFlag;
|
||||||
import net.minecraft.item.ItemStack;
|
import net.minecraft.item.ItemStack;
|
|
@ -1,5 +1,6 @@
|
||||||
package de.ellpeck.actuallyadditions.common.blocks;
|
package de.ellpeck.actuallyadditions.common.blocks.plant;
|
||||||
|
|
||||||
|
import de.ellpeck.actuallyadditions.common.blocks.ActuallyBlock;
|
||||||
import net.minecraft.block.material.Material;
|
import net.minecraft.block.material.Material;
|
||||||
|
|
||||||
public class BlackLotusBlock extends ActuallyBlock {
|
public class BlackLotusBlock extends ActuallyBlock {
|
|
@ -1,12 +1,13 @@
|
||||||
package de.ellpeck.actuallyadditions.common.blocks;
|
package de.ellpeck.actuallyadditions.common.blocks.plant;
|
||||||
|
|
||||||
import de.ellpeck.actuallyadditions.common.ActuallyAdditions;
|
import de.ellpeck.actuallyadditions.common.ActuallyAdditions;
|
||||||
|
import de.ellpeck.actuallyadditions.common.blocks.IActuallyBlock;
|
||||||
import net.minecraft.block.CropsBlock;
|
import net.minecraft.block.CropsBlock;
|
||||||
import net.minecraft.block.material.Material;
|
import net.minecraft.block.material.Material;
|
||||||
import net.minecraft.item.BlockItem;
|
import net.minecraft.item.BlockItem;
|
||||||
import net.minecraft.item.Item;
|
import net.minecraft.item.Item;
|
||||||
|
|
||||||
public class PlantBlock extends CropsBlock implements IActuallyBlock {
|
public class PlantBlock extends CropsBlock implements IActuallyBlock {
|
||||||
public PlantBlock(int minDropAmount, int maxDropAmount) {
|
public PlantBlock(int minDropAmount, int maxDropAmount) {
|
||||||
super(Properties.create(Material.ROCK));
|
super(Properties.create(Material.ROCK));
|
||||||
}
|
}
|
|
@ -1,5 +1,6 @@
|
||||||
package de.ellpeck.actuallyadditions.common.blocks;
|
package de.ellpeck.actuallyadditions.common.blocks.plant;
|
||||||
|
|
||||||
|
import de.ellpeck.actuallyadditions.common.blocks.ActuallyBlock;
|
||||||
import net.minecraft.block.material.Material;
|
import net.minecraft.block.material.Material;
|
||||||
|
|
||||||
public class WildPlantBlock extends ActuallyBlock {
|
public class WildPlantBlock extends ActuallyBlock {
|
|
@ -38,6 +38,8 @@ public class ActuallyItems {
|
||||||
public static final RegistryObject<Item> EMERADIC_CRYSTAL = ITEMS.register("emeradic_crystal", basicItem());
|
public static final RegistryObject<Item> EMERADIC_CRYSTAL = ITEMS.register("emeradic_crystal", basicItem());
|
||||||
public static final RegistryObject<Item> ENORI_CRYSTAL = ITEMS.register("enori_crystal", basicItem());
|
public static final RegistryObject<Item> ENORI_CRYSTAL = ITEMS.register("enori_crystal", basicItem());
|
||||||
|
|
||||||
|
public static final RegistryObject<Item> BOOKLET = ITEMS.register("booklet", basicItem());
|
||||||
|
|
||||||
public static final Set<RegistryObject<Item>> SIMPLE_ITEMS = ImmutableSet.of(
|
public static final Set<RegistryObject<Item>> SIMPLE_ITEMS = ImmutableSet.of(
|
||||||
BLACK_QUARTS, RESTONIA_CRYSTAL, PALIS_CRYSTAL, DIAMATINE_CRYSTAL,
|
BLACK_QUARTS, RESTONIA_CRYSTAL, PALIS_CRYSTAL, DIAMATINE_CRYSTAL,
|
||||||
VOID_CRYSTAL, EMERADIC_CRYSTAL, ENORI_CRYSTAL
|
VOID_CRYSTAL, EMERADIC_CRYSTAL, ENORI_CRYSTAL
|
||||||
|
|
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 3.1 KiB |
Loading…
Reference in a new issue