Package org.spongepowered.api.registry
Interface DefaultedRegistryValue
- All Known Subinterfaces:
AccountDeletionResultType,AdvancementType,ArmorMaterial,ArtType,AttachmentSurface,AttributeOperation,AttributeType,BambooLeavesType,BannerPatternShape,BanType,BellAttachmentType,BlockEntityType,BlockType,BoatType,BodyPart,CatType,ChatVisibility,ChestAttachmentType,ChunkRegenerateFlag,ChunkState,ClickType<T>,ClientCompletionType,CollisionRule,CommandRegistrarType<T>,CommandTreeNodeType<T>,ComparatorMode,ContainerType,Criterion,Currency,DamageModifierType,DamageType,DataFormat,Difficulty,DismountType,DisplaySlot,DoorHinge,DragonPhaseType,DripstoneSegment,DyeColor,EnchantmentType,EntityCategory,EntityType<A>,EquipmentGroup,EquipmentType,FireworkShape,FluidType,FoxType,GameMode,GameRule<V>,GoalExecutorType,GoalType,HandPreference,HandType,HeightType,HorseColor,HorseStyle,InstrumentType,ItemTier,ItemType,JigsawBlockOrientation,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,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,Taggable<T>,TaskPriority,TeleportHelperFilter,Tilt,TransactionType,Trigger<C>,TropicalFishShape,ValueParameter<T>,ValueParameter.Simple<T>,VillagerType,Visibility,WallType,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> ResourceKeykey(DefaultedRegistryType<T> type)
-
Method Details
-
key
-
findKey
-
asDefaultedReference
-