Uses of Record Class
net.minecraft.server.dedicated.management.schema.RpcItemSchema
Packages that use RpcItemSchema
-
Uses of RpcItemSchema in net.minecraft.server.dedicated.management.schema
Fields in net.minecraft.server.dedicated.management.schema with type parameters of type RpcItemSchemaModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<RpcItemSchema> RpcItemSchema.CODECprivate final Optional<RpcItemSchema> RpcSchema.itemsThe field for theitemsrecord component.private final Optional<Map<String, RpcItemSchema>> RpcSchema.propertiesThe field for thepropertiesrecord component.Methods in net.minecraft.server.dedicated.management.schema that return RpcItemSchemaModifier and TypeMethodDescriptionRpcItemSchema.asArray()static RpcItemSchemaRpcItemSchema.ofArray(RpcSchemaTypeReference items) static RpcItemSchemastatic RpcItemSchemaRpcItemSchema.ofReference(URI reference) static RpcItemSchemaRpcSchema.toItemSchema()Methods in net.minecraft.server.dedicated.management.schema that return types with arguments of type RpcItemSchemaModifier and TypeMethodDescriptionRpcSchema.items()Returns the value of theitemsrecord component.RpcSchema.properties()Returns the value of thepropertiesrecord component.Methods in net.minecraft.server.dedicated.management.schema with parameters of type RpcItemSchemaModifier and TypeMethodDescriptionstatic RpcSchemaRpcSchema.ofArray(RpcItemSchema itemSchema) RpcSchema.withProperty(String reference, RpcItemSchema schema) Method parameters in net.minecraft.server.dedicated.management.schema with type arguments of type RpcItemSchemaModifier and TypeMethodDescriptionstatic RpcSchemaRpcSchema.ofObjectWithProperties(Map<String, RpcItemSchema> itemSchemaMap)