parent
b25ed7ef91
commit
0b1196db3f
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@
|
||||||
+ net.minecraft.enchantment.EnchantmentHelper.func_77506_a(net.minecraft.enchantment.Enchantments.field_185308_t, stack));
|
+ net.minecraft.enchantment.EnchantmentHelper.func_77506_a(net.minecraft.enchantment.Enchantments.field_185308_t, stack));
|
||||||
+ java.util.Random rand = new java.util.Random();
|
+ java.util.Random rand = new java.util.Random();
|
||||||
+ drops.forEach(d -> {
|
+ drops.forEach(d -> {
|
||||||
+ net.minecraft.entity.item.ItemEntity ent = entity.func_70099_a(stack, 1.0F);
|
+ net.minecraft.entity.item.ItemEntity ent = entity.func_70099_a(d, 1.0F);
|
||||||
+ ent.func_213317_d(ent.func_213322_ci().func_72441_c((double)((rand.nextFloat() - rand.nextFloat()) * 0.1F), (double)(rand.nextFloat() * 0.05F), (double)((rand.nextFloat() - rand.nextFloat()) * 0.1F)));
|
+ ent.func_213317_d(ent.func_213322_ci().func_72441_c((double)((rand.nextFloat() - rand.nextFloat()) * 0.1F), (double)(rand.nextFloat() * 0.05F), (double)((rand.nextFloat() - rand.nextFloat()) * 0.1F)));
|
||||||
+ });
|
+ });
|
||||||
+ stack.func_222118_a(1, entity, e -> e.func_213334_d(hand));
|
+ stack.func_222118_a(1, entity, e -> e.func_213334_d(hand));
|
||||||
|
|
Loading…
Reference in a new issue