Interface | Description |
---|---|
INBTSerializable<T extends INBT> |
An interface designed to unify various things in the Minecraft
code base that can be serialized to and from a NBT tag.
|
ITeleporter |
Interface for handling the placement of entities during dimension change.
|
Lazy<T> |
Proxy object for a value that is calculated on first access
|
NonNullConsumer<T> |
Equivalent to
Consumer , except with nonnull contract. |
NonNullFunction<T,R> |
Equivalent to
Function , except with nonnull contract. |
NonNullLazy<T> |
Proxy object for a value that is calculated on first access.
|
NonNullPredicate<T> |
Equivalent to
Predicate , except with nonnull contract. |
NonNullSupplier<T> |
Equivalent to
Supplier , except with nonnull contract. |
TriPredicate<T,U,V> |
A predicate that takes three arguments and returns a boolean.
|
Class | Description |
---|---|
BlockSnapshot |
Represents a captured snapshot of a block which will not change
automatically.
|
ChunkCoordComparator | |
Constants |
A class containing constants for magic numbers used in the minecraft codebase.
|
Constants.BlockFlags |
The flags used when calling
IWorldWriter.setBlockState(BlockPos, BlockState, int) Can be found from World.setBlockState(BlockPos, BlockState, int) ,
World.markAndNotifyBlock(net.minecraft.util.math.BlockPos, net.minecraft.world.chunk.Chunk, net.minecraft.block.BlockState, net.minecraft.block.BlockState, int) , and
WorldRenderer.notifyBlockUpdate(net.minecraft.world.IBlockReader, net.minecraft.util.math.BlockPos, net.minecraft.block.BlockState, net.minecraft.block.BlockState, int) Flags can be combined with bitwise OR |
Constants.NBT |
NBT Tag type IDS, used when storing the nbt to disc, Should align with
net.minecraft.nbt.INBT#create
and net.minecraft.nbt.INBT#getTypeName
Main use is checking tag type in CompoundNBT.contains(String, int) |
Constants.WorldEvents |
The world event IDS, used when calling
IWorld.playEvent(int, BlockPos, int) . |
DummyWorldSaveData | |
FakePlayer | |
FakePlayerFactory | |
HexDumper |
Utility class for creating a nice human readable dump of binary data.
|
HexDumper.Instance | |
JsonUtils | |
Lazy.Concurrent<T> |
Thread-safe implementation.
|
Lazy.Fast<T> |
Non-thread-safe implementation.
|
LazyOptional<T> |
This object encapsulates a lazy value, with typical transformation operations
(map/ifPresent) available, much like
Optional . |
NonNullLazy.Concurrent<T> |
Thread-safe implementation.
|
NonNullLazy.Fast<T> |
Non-thread-safe implementation.
|
RecipeMatcher | |
ReverseTagWrapper<T> | |
Size2i | |
SortedProperties |
An Implementation of Properties that is sorted when iterating.
|
TextTable |
Utility to format data into a textual (markdown-compliant) table.
|
TextTable.Column | |
TextTable.Row | |
WorldCapabilityData |
Enum | Description |
---|---|
JsonUtils.ImmutableListTypeAdapter | |
JsonUtils.ImmutableMapTypeAdapter | |
TextTable.Alignment |