public static class LootContext.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder(WorldServer worldIn) |
Modifier and Type | Method and Description |
---|---|
LootContext |
build() |
LootContext.Builder |
withDamageSource(DamageSource dmgSource) |
LootContext.Builder |
withLootedEntity(Entity entityIn) |
LootContext.Builder |
withLuck(float luckIn) |
LootContext.Builder |
withPlayer(EntityPlayer playerIn) |
public Builder(WorldServer worldIn)
public LootContext.Builder withLuck(float luckIn)
public LootContext.Builder withLootedEntity(Entity entityIn)
public LootContext.Builder withPlayer(EntityPlayer playerIn)
public LootContext.Builder withDamageSource(DamageSource dmgSource)
public LootContext build()