Package org.spongepowered.api.registry
Interface DefaultedRegistryValue
- All Known Subinterfaces:
AccountDeletionResultType
,AdvancementType
,ArmorMaterial
,ArtType
,AttachmentSurface
,AttributeOperation
,AttributeType
,BambooLeavesType
,BannerPatternShape
,BanType
,BellAttachmentType
,BillboardType
,Biome
,BlockEntityType
,BlockType
,BoatType
,BodyPart
,CatType
,ChatVisibility
,ChestAttachmentType
,ChunkRegenerateFlag
,ChunkState
,ClickType<T>
,ClientCompletionType
,CollisionRule
,CommandRegistrarType<T>
,CommandTreeNodeType<T>
,ComparatorMode
,ContainerType
,Criterion
,Currency
,DamageEffect
,DamageModifierType
,DamageScaling
,DamageType
,DataFormat
,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
,MapDecorationBannerType
,MapDecorationOrientation
,MapDecorationType
,MapShade
,MatterType
,Mirror
,MooshroomType
,MovementType
,MusicDisc
,NotePitch
,ObjectiveDisplayMode
,Operation
,Orientation
,PaletteType<T,
,R> PandaGene
,ParrotType
,ParticleOption<V>
,ParticleType
,PhantomPhase
,PickupRule
,PistonType
,PlacedFeature
,PlaceholderParser
,PortalType
,PortionType
,PotionEffectType
,PotionType
,ProfessionType
,QueryType
,QueryType.NoParam
,QueryType.OneParam<T>
,QueryType.TwoParam<T1,
,T2> RabbitType
,RaidStatus
,RailDirection
,RangedAttributeType
,RecipeType<T>
,ResourceKeyedValueParameter<T>
,Rotation
,SculkSensorState
,SelectorSortAlgorithm
,SelectorType
,SkinPart
,SlabPortion
,SpawnType
,SpellType
,StairShape
,StringDataFormat
,Structure
,StructureMode
,StructureType
,Taggable<T>
,TaskPriority
,TeleportHelperFilter
,TextAlignment
,Tilt
,TransactionType
,Trigger<C>
,TropicalFishShape
,ValueParameter<T>
,ValueParameter.Simple<T>
,VillagerType
,Visibility
,WallConnectionState
,WeatherType
,WireAttachmentType
,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
-