Package org.spongepowered.api.registry
Interface DefaultedRegistryValue
- All Known Subinterfaces:
AccountDeletionResultType
,Advancement
,AdvancementType
,ArmorMaterial
,ArtType
,AttachmentSurface
,AttributeOperation
,AttributeType
,AxolotlVariant
,BambooLeavesType
,BannerPatternShape
,BanType
,BellAttachmentType
,BillboardType
,Biome
,BlockEntityType
,BlockType
,BoatType
,BodyPart
,Carver
,CatType
,ChatType
,ChatVisibility
,ChestAttachmentType
,ChunkRegenerateFlag
,ChunkState
,ClickType<T>
,ClientCompletionType
,CollisionRule
,CommandRegistrarType<T>
,CommandTreeNodeType<T>
,ComparatorMode
,ContainerType
,CookingRecipe
,CraftingRecipe
,Criterion
,Currency
,DamageEffect
,DamageModifierType
,DamageScaling
,DamageType
,DataFormat
,DensityFunction
,Difficulty
,DismountType
,DisplaySlot
,DoorHinge
,DragonPhaseType
,DripstoneSegment
,DyeColor
,EnchantmentType
,EntityCategory
,EntityType<A>
,EquipmentGroup
,EquipmentType
,Feature
,FeatureType
,FireworkShape
,FluidType
,FoxType
,GameMode
,GameRule<V>
,GoalExecutorType
,GoalType
,HandPreference
,HandType
,HeightType
,HorseColor
,HorseStyle
,InstrumentType
,ItemDisplayType
,ItemTier
,ItemType
,JigsawBlockOrientation
,JigsawPool
,LightType
,LlamaType
,MapColorType
,MapDecorationOrientation
,MapDecorationType
,MapShade
,MatterType
,Mirror
,MooshroomType
,MovementType
,MusicDisc
,Noise
,NoiseGeneratorConfig
,NotePitch
,ObjectiveDisplayMode
,Operation
,Orientation
,PaletteType<T,
,R> PandaGene
,ParrotType
,ParticleOption<V>
,ParticleType
,PhantomPhase
,PickupRule
,PistonType
,PlacedFeature
,PlaceholderParser
,PortionType
,PotionEffectType
,PotionType
,ProcessorList
,ProfessionType
,QueryType
,QueryType.NoParam
,QueryType.OneParam<T>
,QueryType.TwoParam<T1,
,T2> RabbitType
,RaidStatus
,RailDirection
,RangedAttributeType
,Recipe<T>
,RecipeType<T>
,ResourceKeyedValueParameter<T>
,Rotation
,SalmonSize
,SculkSensorState
,SelectorSortAlgorithm
,SelectorType
,ShapedCraftingRecipe
,ShapelessCraftingRecipe
,SkinPart
,SlabPortion
,SmithingRecipe
,SpawnType
,SpecialCraftingRecipe
,SpellType
,StairShape
,StoneCutterRecipe
,StringDataFormat
,Structure
,StructureMode
,StructureSet
,StructureType
,Taggable<T>
,TaskPriority
,TeleportHelperFilter
,TextAlignment
,Tilt
,TransactionType
,Trigger<C>
,TrimMaterial
,TrimPattern
,TropicalFishShape
,ValueParameter<T>
,ValueParameter.Simple<T>
,VillagerType
,Visibility
,WallConnectionState
,WeatherType
,WireAttachmentType
,WolfVariant
,WorldArchetypeType
,WorldType
public interface DefaultedRegistryValue
A Utility marker that assists in getting a
ResourceKey
for values that generally can be
within a defaulted registry
.-
Method Summary
Modifier and TypeMethodDescriptiondefault <T> DefaultedRegistryReference
<T> default <T> Optional
<ResourceKey> findKey
(DefaultedRegistryType<T> type) default <T> ResourceKey
key
(DefaultedRegistryType<T> type)
-
Method Details
-
key
-
findKey
-
asDefaultedReference
-