mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
minor merge fuckup
This commit is contained in:
parent
f005680cc1
commit
4e0171159e
@ -1,7 +1,7 @@
|
||||
package com.hbm.blocks.machine;
|
||||
|
||||
import com.hbm.tileentity.machine.TileEntityCharger;
|
||||
import com.hbm.world.gen.INBTTransformable;
|
||||
import com.hbm.world.gen.nbt.INBTBlockTransformable;
|
||||
|
||||
import net.minecraft.block.BlockContainer;
|
||||
import net.minecraft.block.material.Material;
|
||||
@ -13,7 +13,7 @@ import net.minecraft.util.MathHelper;
|
||||
import net.minecraft.world.IBlockAccess;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
public class Charger extends BlockContainer implements INBTTransformable {
|
||||
public class Charger extends BlockContainer implements INBTBlockTransformable {
|
||||
|
||||
public Charger(Material mat) {
|
||||
super(mat);
|
||||
@ -79,6 +79,6 @@ public class Charger extends BlockContainer implements INBTTransformable {
|
||||
|
||||
@Override
|
||||
public int transformMeta(int meta, int coordBaseMode) {
|
||||
return INBTTransformable.transformMetaDeco(meta, coordBaseMode);
|
||||
return INBTBlockTransformable.transformMetaDeco(meta, coordBaseMode);
|
||||
}
|
||||
}
|
||||
|
||||
@ -12,7 +12,6 @@ import com.hbm.util.i18n.I18nUtil;
|
||||
|
||||
import net.minecraft.client.Minecraft;
|
||||
import net.minecraft.client.renderer.OpenGlHelper;
|
||||
import net.minecraft.client.resources.I18n;
|
||||
import net.minecraft.entity.player.InventoryPlayer;
|
||||
import net.minecraft.inventory.Slot;
|
||||
import net.minecraft.util.EnumChatFormatting;
|
||||
|
||||
@ -153,7 +153,8 @@ public class NTMWorldGenerator implements IWorldGenerator {
|
||||
minHeight = 53;
|
||||
maxHeight = 65;
|
||||
spawnWeight = 8;
|
||||
NBTStructure.registerStructure(0, new SpawnCondition() {{
|
||||
}});
|
||||
NBTStructure.registerStructure(0, new SpawnCondition("forest_post") {{
|
||||
canSpawn = biome -> biome == BiomeGenBase.forest;
|
||||
structure = new JigsawPiece("forest_post", StructureManager.forest_post, -9);
|
||||
spawnWeight = 40;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user