public class MaterialUtils
extends java.lang.Object
Constructor and Description |
---|
MaterialUtils() |
Modifier and Type | Method and Description |
---|---|
static java.util.Set<Material> |
gatherAllMaterials(World2 world,
Platform platform) |
static java.util.Map<java.lang.String,java.util.Set<java.lang.String>> |
gatherBlocksWithoutIds(World2 world,
Platform platform)
Gather descriptions of all materials that don't have a block ID (and are
therefore not compatible with Minecraft 1.13 or later) from:
The currently loaded custom materials in the
MixedMaterialManager
The specified World
|
public static java.util.Map<java.lang.String,java.util.Set<java.lang.String>> gatherBlocksWithoutIds(World2 world, Platform platform)
MixedMaterialManager
World
world
- The world from which to obtain all materials without
block IDs.platform
- The platform for which the materials are to be
determined.