Code formatter take 2
This commit is contained in:
parent
33985f1a31
commit
5eed5b161d
450 changed files with 32768 additions and 26684 deletions
|
@ -8,10 +8,12 @@ import net.minecraft.item.ItemStack;
|
|||
import net.minecraft.util.EnumFacing;
|
||||
import techreborn.api.ScrapboxList;
|
||||
|
||||
public class BehaviorDispenseScrapbox extends BehaviorDefaultDispenseItem {
|
||||
public class BehaviorDispenseScrapbox extends BehaviorDefaultDispenseItem
|
||||
{
|
||||
|
||||
@Override
|
||||
protected ItemStack dispenseStack(IBlockSource source, ItemStack stack) {
|
||||
protected ItemStack dispenseStack(IBlockSource source, ItemStack stack)
|
||||
{
|
||||
int random = source.getWorld().rand.nextInt(ScrapboxList.stacks.size());
|
||||
ItemStack out = ScrapboxList.stacks.get(random).copy();
|
||||
float xOffset = source.getWorld().rand.nextFloat() * 0.8F + 0.1F;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue