Add more pool tile variants
This commit is contained in:
parent
017a608f5d
commit
046696b84f
210 changed files with 1045 additions and 1568 deletions
14
src/main/java/com/zontreck/block/MiniSunBlock.java
Normal file
14
src/main/java/com/zontreck/block/MiniSunBlock.java
Normal file
|
@ -0,0 +1,14 @@
|
|||
package com.zontreck.block;
|
||||
|
||||
import net.minecraft.core.BlockPos;
|
||||
import net.minecraft.world.level.BlockGetter;
|
||||
import net.minecraft.world.level.block.Block;
|
||||
import net.minecraft.world.level.block.state.BlockState;
|
||||
|
||||
public class MiniSunBlock extends Block
|
||||
{
|
||||
|
||||
public MiniSunBlock(Properties props) {
|
||||
super(props);
|
||||
}
|
||||
}
|
|
@ -15,7 +15,7 @@ public class CreativeModeTabs {
|
|||
public static CreativeModeTab AETAB = new CreativeModeTab("ariasessentials") {
|
||||
@Override
|
||||
public ItemStack makeIcon() {
|
||||
return new ItemStack(ModBlocks.BLUE_POOL_TILE.get().asItem());
|
||||
return new ItemStack(ModBlocks.BLUE_POOL_TILES.get(0).get().asItem());
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
@ -53,4 +53,9 @@ public class ModItems {
|
|||
|
||||
public static final RegistryObject<Item> MAGMA_POWDER = CreativeModeTabs.addToAETab(ITEMS.register("magma_powder", ()-> new MagmaPowder(new Item.Properties().tab(CreativeModeTabs.AETAB))));
|
||||
|
||||
|
||||
|
||||
|
||||
public static final RegistryObject<Item> METAL_BAR = CreativeModeTabs.addToAETab(ITEMS.register("metal_bar", ()->new Item(new Item.Properties().tab(CreativeModeTabs.AETAB))));
|
||||
|
||||
}
|
||||
|
|
11
src/main/java/com/zontreck/mixin/BlockGetterMixin.java
Normal file
11
src/main/java/com/zontreck/mixin/BlockGetterMixin.java
Normal file
|
@ -0,0 +1,11 @@
|
|||
package com.zontreck.mixin;
|
||||
|
||||
import net.minecraft.world.level.chunk.ChunkAccess;
|
||||
import org.spongepowered.asm.mixin.Mixin;
|
||||
import org.spongepowered.asm.mixin.Overwrite;
|
||||
import org.spongepowered.asm.mixin.Unique;
|
||||
|
||||
@Mixin(ChunkAccess.class)
|
||||
public class BlockGetterMixin {
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue