public class DropSet
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
DropSet.Drop |
Constructor and Description |
---|
DropSet(double chance,
int quantity,
WeightedSet<DropSet.Drop> drops) |
DropSet(com.google.gson.JsonObject json,
com.google.gson.JsonDeserializationContext ctx) |
DropSet(net.minecraft.network.PacketBuffer buf) |
Modifier and Type | Method and Description |
---|---|
java.util.Set<DropSet.Drop> |
getDrops() |
void |
toBuffer(net.minecraft.network.PacketBuffer buf) |
public DropSet(double chance, int quantity, WeightedSet<DropSet.Drop> drops)
public DropSet(com.google.gson.JsonObject json, com.google.gson.JsonDeserializationContext ctx)
public DropSet(net.minecraft.network.PacketBuffer buf)
public java.util.Set<DropSet.Drop> getDrops()
public void toBuffer(net.minecraft.network.PacketBuffer buf)