Class MatterKey
-
- All Implemented Interfaces:
public final class MatterKey extends AEKey
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classMatterKey.Companion
-
Field Summary
Fields Modifier and Type Field Description private final MatterStackstackprivate final IMatterTypetypeprivate final ResourceLocationlocationprivate final IntegerfuzzySearchValueprivate final ResourceLocationidprivate final IntegeramountPerByteprivate final ObjectprimaryKeyprivate final IntegeramountPerOperationprivate final StringmodIdprivate final IntegeramountPerUnitprivate final MatterKeyTypetypeprivate final ComponentdisplayNameprivate final IntegerfuzzySearchMaxValueprivate final StringunitSymbolpublic final static MatterKey.CompanionCompanion
-
Method Summary
Modifier and Type Method Description final MatterStackgetStack()final IMatterTypegetType()final ResourceLocationgetLocation()final MatterStacktoStack(Long amount)CompoundTagtoTag(HolderLookup.Provider registries)UnitwriteToPacket(RegistryFriendlyByteBuf data)UnitaddDrops(Long amount, List<ItemStack> drops, Level level, BlockPos pos)ResourceLocationgetId()Booleanequals(Object other)IntegerhashCode()MatterKeyTypegetType()ObjectgetPrimaryKey()AEKeydropSecondary()BooleanhasComponents()-
Methods inherited from class appeng.api.stacks.AEKey
formatAmount, fuzzyEquals, get, getAmountPerByte, getAmountPerOperation, getAmountPerUnit, getDisplayName, getFuzzySearchMaxValue, getFuzzySearchValue, getModId, getUnitSymbol, isTagged, matches, supportsFuzzyRangeSearch, toTagGeneric, wrapForDisplayOrFilter -
Methods inherited from class dev.lapis256.apprep.api.ae2.stack.MatterKey
getId, getPrimaryKey, getType -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getStack
final MatterStack getStack()
-
getType
final IMatterType getType()
-
getLocation
final ResourceLocation getLocation()
-
toTag
CompoundTag toTag(HolderLookup.Provider registries)
-
writeToPacket
Unit writeToPacket(RegistryFriendlyByteBuf data)
-
getId
ResourceLocation getId()
-
getType
MatterKeyType getType()
-
getPrimaryKey
Object getPrimaryKey()
-
dropSecondary
AEKey dropSecondary()
-
hasComponents
Boolean hasComponents()
-
-
-
-