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