Skip to content

Instantly share code, notes, and snippets.

@killerjdog51
Created January 25, 2016 23:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save killerjdog51/8a23a11c03415992237f to your computer and use it in GitHub Desktop.
Save killerjdog51/8a23a11c03415992237f to your computer and use it in GitHub Desktop.
package com.chocolatemod.worldgen;
import java.util.Random;
import net.minecraft.world.World;
public class StructureChocolateMineshaftStart extends ChocolateStructureStart
{
private static final String __OBFID = "CL_00000450";
public StructureChocolateMineshaftStart() {}
public StructureChocolateMineshaftStart(World p_i2039_1_, Random p_i2039_2_, int p_i2039_3_, int p_i2039_4_)
{
super(p_i2039_3_, p_i2039_4_);
StructureChocolateMineshaftPieces.Room room = new StructureChocolateMineshaftPieces.Room(3, p_i2039_2_, (p_i2039_3_ << 4) + 2, (p_i2039_4_ << 4) + 2);
this.components.add(room);
room.buildComponent(room, this.components, p_i2039_2_);
this.updateBoundingBox();
this.markAvailableHeight(p_i2039_1_, p_i2039_2_, 10);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment