Uses of Interface
dev.wyck.keys.ResourceKey
Packages that use ResourceKey
Package
Description
-
Uses of ResourceKey in dev.wyck.biome
Methods in dev.wyck.biome that return ResourceKeyMethods in dev.wyck.biome with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic Biome.BuilderBiome.builder(ResourceKey resourceKey) static CustomBiome.BuilderCustomBiome.builder(ResourceKey resourceKey) static CustomBiomeCustomBiome.of(ResourceKey resourceKey) Creates a new custom biome with the given ResourceKey.static BiomeBiome.reference(ResourceKey resourceKey) Gets a reference to a biome from the biome registry.Biome.Builder.resourceKey(ResourceKey resourceKey) Sets the ResourceKey of the biome.CustomBiome.Builder.resourceKey(ResourceKey resourceKey) Sets the ResourceKey of the custom biome. -
Uses of ResourceKey in dev.wyck.biome.internal
Methods in dev.wyck.biome.internal that return ResourceKeyConstructors in dev.wyck.biome.internal with parameters of type ResourceKeyModifierConstructorDescriptionBiomeImpl(ResourceKey resourceKey, ClimateSettings climateSettings, BiomeSpecialEffects specialEffects, EnvironmentAttributeMap attributes, @Nullable BiomeSpawner biomeSpawner, @Nullable BiomeGenerationSettings generationSettings) CustomBiomeImpl(ResourceKey resourceKey, ClimateSettings climateSettings, BiomeSpecialEffects specialEffects, EnvironmentAttributeMap attributes, @Nullable BiomeSpawner biomeSpawner, @Nullable BiomeGenerationSettings generationSettings, List<BlockReplacement> blockReplacements) -
Uses of ResourceKey in dev.wyck.environment
Methods in dev.wyck.environment that return ResourceKey -
Uses of ResourceKey in dev.wyck.environment.attribute
Methods in dev.wyck.environment.attribute that return ResourceKeyModifier and TypeMethodDescriptionEnvironmentAttribute.key()Gets the key of the environment attribute.EnvironmentAttributeSupplier.key()Gets the key of the attribute.Methods in dev.wyck.environment.attribute that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionEnvironmentAttributeMap.attributes()Returns the fully resolved directly set attribute map.EnvironmentAttributeMap.modifications()Returns the modifiers in this map, indexed by their attribute keys.Methods in dev.wyck.environment.attribute with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic <V> EnvironmentAttribute<V> EnvironmentAttribute.of(ResourceKey key) Gets an EnvironmentAttribute instance for the given key.static <V,U> EnvironmentAttribute <V> EnvironmentAttribute.of(ResourceKey key, @Nullable EnvironmentAttribute.Converter<V, U> converter) Gets an EnvironmentAttribute instance for the given key.static <V,U> EnvironmentAttribute <V> EnvironmentAttribute.of(ResourceKey key, @Nullable EnvironmentAttribute.Converter<V, U> converter, @Nullable V defaultValue) Gets an EnvironmentAttribute instance for the given key and default value.static FriendlyColorSupplierEnvironmentAttribute.ofFriendlyColorSupplier(ResourceKey key) Gets a FriendlyColorSupplier instance for the given key.static <V> EnvironmentAttributeSupplier<V> EnvironmentAttribute.ofSupplier(ResourceKey key) Gets an EnvironmentAttributeSupplier instance for the given key.static <V,U> EnvironmentAttributeSupplier <V> EnvironmentAttribute.ofSupplier(ResourceKey key, @Nullable EnvironmentAttribute.Converter<V, U> converter) Gets an EnvironmentAttributeSupplier instance for the given key and default value.Constructor parameters in dev.wyck.environment.attribute with type arguments of type ResourceKeyModifierConstructorDescriptionEnvironmentAttributeMap(Map<ResourceKey, EnvironmentAttribute<?>> attributes) EnvironmentAttributeMap(Map<ResourceKey, EnvironmentAttribute<?>> attributes, List<EnvironmentAttributeMap.Pending<?>> pending) EnvironmentAttributeMap(Map<ResourceKey, EnvironmentAttribute<?>> attributes, Map<ResourceKey, EnvironmentAttributeMap.Modification<?, ?>> modifications, List<EnvironmentAttributeMap.Pending<?>> pending) Creates an instance of aEnvironmentAttributeMaprecord class. -
Uses of ResourceKey in dev.wyck.environment.particle
Methods in dev.wyck.environment.particle that return ResourceKey -
Uses of ResourceKey in dev.wyck.environment.sounds
Methods in dev.wyck.environment.sounds that return ResourceKeyMethods in dev.wyck.environment.sounds with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic SoundEventSoundEvent.fixedRange(ResourceKey location, float range) Creates a new sound event with a fixed range.static SoundEventSoundEvent.variableRange(ResourceKey location) Creates a new sound event with a variable range. -
Uses of ResourceKey in dev.wyck.keys
Methods in dev.wyck.keys that return ResourceKeyModifier and TypeMethodDescriptionstatic ResourceKeyResourceKey.fromString(String keyString) Creates a new ResourceKey from the given string representation.static ResourceKeyCreates a new ResourceKey in the "minecraft" namespace with the given path.static ResourceKeyCreates a new ResourceKey from the given string.static ResourceKeyCreates a new ResourceKey from the given namespace and path.static ResourceKeyCreates a new ResourceKey from the given Key.static ResourceKeyCreates a new ResourceKey in the "wyck" namespace with the given path. -
Uses of ResourceKey in dev.wyck.level
Methods in dev.wyck.level that return ResourceKeyModifier and TypeMethodDescriptionLevelCreator.resourceKey()The key the world and its level stem are registered under.LevelCreatorImpl.resourceKey()Methods in dev.wyck.level with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic LevelCreator.BuilderLevelCreator.builder(ResourceKey levelKey) Creates a new builder seeded with the given level key.LevelCreator.Builder.dimension(ResourceKey resourceKey) Sets the dimension of the world.LevelCreator.Builder.levelKey(ResourceKey levelKey) LevelCreator.Builder.resourceKey(ResourceKey levelKey) Sets the resource key of the level stem.Constructors in dev.wyck.level with parameters of type ResourceKeyModifierConstructorDescriptionLevelCreatorImpl(ResourceKey levelKey, LevelStem levelStem, long seed, boolean generateStructures, boolean bonusChest, World.Environment environment, StemPersistence persistence, List<LevelSpawner> spawners, @Nullable String name, LevelType type) -
Uses of ResourceKey in dev.wyck.level.dimension
Methods in dev.wyck.level.dimension that return ResourceKeyModifier and TypeMethodDescriptionDimension.resourceKey()The key of this dimension type.DimensionImpl.resourceKey()Methods in dev.wyck.level.dimension that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionLevelStem.resourceKey()Gets the resource key of this level stem, if it set.Methods in dev.wyck.level.dimension with parameters of type ResourceKeyModifier and TypeMethodDescriptionInfiniburn.Builder.blocks(ResourceKey tag) Sets the tag of blocks that can burn infinitely in this dimension.static Dimension.BuilderDimension.builder(ResourceKey resourceKey) Creates a newDimension.Builderwith the given resource key.static InfiniburnInfiniburn.of(ResourceKey key) Blocks that can burn infinitely in this dimension.static LevelStemLevelStem.of(@Nullable ResourceKey resourceKey, Dimension dimension, ChunkGenerator chunkGenerator) Creates a new level stem with the given dimension type and chunk generator.static DimensionDimension.reference(ResourceKey resourceKey) Simply holds a reference to a dimension.Dimension.Builder.resourceKey(ResourceKey resourceKey) Sets the resource key of this dimension type.LevelStem.Builder.resourceKey(ResourceKey resourceKey) Sets the resource key for the level stem.Constructors in dev.wyck.level.dimension with parameters of type ResourceKeyModifierConstructorDescriptionDimensionImpl(ResourceKey resourceKey, boolean hasFixedTime, boolean hasSkyLight, boolean hasCeiling, boolean hasEnderDragonFight, double coordinateScale, int minY, int height, int logicalHeight, Infiniburn infiniburn, float ambientLight, MonsterSettings monsterSettings, Skybox skybox, CardinalLightType cardinalLightType, EnvironmentAttributeMap attributes, TagSet<Timeline> timelines, @Nullable WorldClock defaultClock) -
Uses of ResourceKey in dev.wyck.level.dimension.clock
Fields in dev.wyck.level.dimension.clock declared as ResourceKeyModifier and TypeFieldDescriptionstatic final ResourceKeyTimeMarker.DAYstatic final ResourceKeyTimeMarker.MIDNIGHTstatic final ResourceKeyTimeMarker.NIGHTstatic final ResourceKeyTimeMarker.NOONstatic final ResourceKeyTimeMarker.ROLL_VILLAGE_SIEGEstatic final ResourceKeyTimeMarker.WAKE_UP_FROM_SLEEPMethods in dev.wyck.level.dimension.clock that return ResourceKeyModifier and TypeMethodDescriptionTimeMarker.key()The key of this time marker.WorldClock.key()The registry key this clock points at.Methods in dev.wyck.level.dimension.clock with parameters of type ResourceKeyModifier and TypeMethodDescriptionTimeMarker.Builder.key(ResourceKey key) Sets the key of the time marker.static TimeMarkerTimeMarker.of(ResourceKey key, int ticks) Creates a new time marker with the given key and ticks.static TimeMarkerTimeMarker.of(ResourceKey key, int ticks, boolean showInCommands) Creates a new time marker with the given key, ticks, and showInCommands.static WorldClockWorldClock.of(ResourceKey key) Creates a reference to a registered world clock. -
Uses of ResourceKey in dev.wyck.level.dimension.timeline
Methods in dev.wyck.level.dimension.timeline that return ResourceKeyMethods in dev.wyck.level.dimension.timeline with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic EasingEasing.of(ResourceKey id) Gets an easing by its identifier.static ReferencedTimelineTimeline.reference(ResourceKey key) Creates a timeline reference to the given timeline. -
Uses of ResourceKey in dev.wyck.level.dimension.timeline.types
Methods in dev.wyck.level.dimension.timeline.types with parameters of type ResourceKeyModifier and TypeMethodDescriptionComposedTimeline.Builder.key(ResourceKey key) static ComposedTimelineComposedTimeline.of(ResourceKey key, WorldClock clock, @Nullable Integer periodTicks, List<AttributeTrack<?>> tracks, List<TimeMarker> timeMarkers) Creates a new timeline.static ReferencedTimelineReferencedTimeline.of(ResourceKey key) Creates a new timeline reference with the specified key.ComposedTimeline.Builder.timeMarker(ResourceKey key, int ticks) ComposedTimeline.Builder.timeMarker(ResourceKey key, int ticks, boolean showInCommands) -
Uses of ResourceKey in dev.wyck.misc.providers
Fields in dev.wyck.misc.providers with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprotected final Map<ResourceKey, Biome> WyckBiomeProvider.biomeMapMethods in dev.wyck.misc.providers that return types with arguments of type ResourceKey -
Uses of ResourceKey in dev.wyck.registry
Methods in dev.wyck.registry with parameters of type ResourceKeyModifier and TypeMethodDescription<T extends Biome>
TBiomeRegistry.getBiome(ResourceKey key) Deprecated.voidDimensionRegistry.modify(ResourceKey key, Dimension newData) Modifies a dimension type. -
Uses of ResourceKey in dev.wyck.registry.internal
Methods in dev.wyck.registry.internal that return ResourceKeyMethods in dev.wyck.registry.internal that return types with arguments of type ResourceKeyMethods in dev.wyck.registry.internal with parameters of type ResourceKeyModifier and TypeMethodDescriptionWyckRegistry.Factory.create(ResourceKey key) static Lazy<WyckRegistry> WyckRegistry.lazy(ResourceKey key) Creates a lazy FrozenRegistry.static WyckRegistryWyckRegistry.of(ResourceKey key) Creates a FrozenRegistry from a ResourceKey.default voidWyckRegistry.register(ResourceKey key, Wrapper wrappable) Registers a wrapper in the registry.<T> voidWyckRegistry.register(ResourceKey key, T object) Registers an object in the registry.<T> @Nullable TWyckRegistry.retrieve(ResourceKey key) Retrieves an object from the registry.default <T> TWyckRegistry.retrieveOrThrow(ResourceKey key) Retrieves an object from the registry, or throws an exception if it is not present.Method parameters in dev.wyck.registry.internal with type arguments of type ResourceKey -
Uses of ResourceKey in dev.wyck.registry.worldgen
Methods in dev.wyck.registry.worldgen with parameters of type ResourceKeyModifier and TypeMethodDescriptionvoidCustomCarverRegistry.register(ResourceKey key, CustomCarver<?> carver) voidCustomFeatureRegistry.register(ResourceKey key, CustomFeature<?> feature) -
Uses of ResourceKey in dev.wyck.renderer.packet
Methods in dev.wyck.renderer.packet with parameters of type ResourceKeyModifier and TypeMethodDescriptiondefault PacketHandlerPacketHandler.dismissBiome(ResourceKey biomeKey) Removes a custom biome from the packet handler's list of biomes to inject by its ResourceKey.booleanPacketHandler.hasBiome(ResourceKey biomeKey) Checks if a custom biome is in the packet handler's list of biomes to inject by its ResourceKey.booleanVirtualBiomeCollector.hasBiome(ResourceKey biomeKey) Checks if the collector has a phony custom biome with the given ResourceKey.booleanPacketHandler.removeBiome(ResourceKey biomeKey) Removes a custom biome from the packet handler's list of biomes to inject by its ResourceKey.booleanVirtualBiomeCollector.removeBiome(ResourceKey biomeKey) Removes a phony custom biome with the given ResourceKey from the collector. -
Uses of ResourceKey in dev.wyck.renderer.packet.data
Methods in dev.wyck.renderer.packet.data that return ResourceKeyModifier and TypeMethodDescriptionVirtualBiome.biomeResourceKey()Gets the resource key of the biome this virtual biome renders.Methods in dev.wyck.renderer.packet.data with parameters of type ResourceKeyConstructors in dev.wyck.renderer.packet.data with parameters of type ResourceKeyModifierConstructorDescriptionVirtualBiome(ResourceKey biomeResourceKey, List<BlockReplacement> blockReplacements, BiPredicate<Player, ChunkLocation> conditional, @Nullable BiPredicate<Player, SnapshotChunkData> biomeCondition, PacketHandler.Priority priority) Creates a virtual biome using chunk-level conditions only.VirtualBiome(ResourceKey biomeResourceKey, List<BlockReplacement> blockReplacements, BiPredicate<Player, ChunkLocation> conditional, @Nullable BiPredicate<Player, SnapshotChunkData> biomeCondition, @Nullable BiPredicate<Player, BiomePosition> positionCondition, PacketHandler.Priority priority) Creates a virtual biome. -
Uses of ResourceKey in dev.wyck.tags
Methods in dev.wyck.tags that return ResourceKeyMethods in dev.wyck.tags that return types with arguments of type ResourceKeyMethods in dev.wyck.tags with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic TagKeyTagKey.blocks(ResourceKey key) Creates a block tag key from its identifier.static TagKeyTagKey.of(RegistryId registry, ResourceKey key) Creates a tag key from its identifier, resolving against the given registry.TagSet.of(@Nullable ResourceKey resourceKey, RegistryId registry, Either<Set<T>, TagKey> value) TagSet.of(@Nullable ResourceKey resourceKey, RegistryId registry, Set<T> elements) TagSet.ofBlocks(@Nullable ResourceKey resourceKey, Set<Material> blocks) Creates a tag set of explicit block materials.TagSet.ofBlocks(@Nullable ResourceKey resourceKey, Material... blocks) Creates a tag set of explicit block materials.TagSet.ofBlockTag(ResourceKey key) Creates a key set referencing a named block key.TagSet.Builder.resourceKey(ResourceKey resourceKey) Sets the resource key of the tag set.static TagKeyTagKey.timelines(ResourceKey key) Creates a timeline tag key from its identifier.TagSet.Builder.value(ResourceKey tagKey) Sets the value of the tag set. -
Uses of ResourceKey in dev.wyck.util.internal
Methods in dev.wyck.util.internal that return ResourceKeyModifier and TypeMethodDescriptionLevelBiomeEdit.Add.biome()Returns the value of thebiomerecord component.LevelBiomeEdit.Add.dimension()Returns the value of thedimensionrecord component.LevelBiomeEdit.dimension()The key of the dimension to edit.LevelBiomeEdit.Replace.dimension()Returns the value of thedimensionrecord component.LevelBiomeEdit.Replace.replacement()Returns the value of thereplacementrecord component.LevelBiomeEdit.Replace.target()Returns the value of thetargetrecord component.Constructors in dev.wyck.util.internal with parameters of type ResourceKeyModifierConstructorDescriptionAdd(ResourceKey dimension, ResourceKey biome, ClimatePoint point) Creates an instance of aAddrecord class.Replace(ResourceKey dimension, ResourceKey target, ResourceKey replacement) Creates an instance of aReplacerecord class. -
Uses of ResourceKey in dev.wyck.worldgen.biome
Methods in dev.wyck.worldgen.biome that return ResourceKeyModifier and TypeMethodDescriptionMultiNoisePresetBiomeSource.preset()A reference to a hardcoded parameter list preset.Methods in dev.wyck.worldgen.biome with parameters of type ResourceKeyModifier and TypeMethodDescriptionMultiNoiseBiomeSource.Builder.add(ResourceKey biomeKey, ClimatePoint point) Adds a biome to the builder.CheckeredColumnBiomeSource.Builder.biome(ResourceKey biomeKey) Adds a biome to the list of biomes.static FixedBiomeSourceBiomeSource.fixed(ResourceKey biomeKey) Creates a biome source that always returns the specified biome.static FixedBiomeSourceFixedBiomeSource.of(ResourceKey biomeKey) Creates a new fixed biome source.static MultiNoisePresetBiomeSourceMultiNoisePresetBiomeSource.of(ResourceKey preset) Creates a new multi-noise preset biome source. -
Uses of ResourceKey in dev.wyck.worldgen.blockpredicates
Methods in dev.wyck.worldgen.blockpredicates that return ResourceKeyMethods in dev.wyck.worldgen.blockpredicates with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic MatchingBlockTagPredicateBlockPredicate.matchingBlockTag(ResourceKey tag) Creates aMatchingBlockTagPredicatethat matches the block at the given offset.static MatchingBlockTagPredicateMatchingBlockTagPredicate.of(ResourceKey tag) Creates a new matching block tag predicate with a zero offset.static MatchingBlockTagPredicateMatchingBlockTagPredicate.of(BlockVector offset, ResourceKey tag) Creates a new matching block tag predicate.MatchingBlockTagPredicate.Builder.tag(ResourceKey tag) Sets the tag. -
Uses of ResourceKey in dev.wyck.worldgen.carver
Methods in dev.wyck.worldgen.carver that return ResourceKeyMethods in dev.wyck.worldgen.carver with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic ReferencedCarverConfiguredWorldCarver.reference(ResourceKey key) References a configured carver already registered under the given key. -
Uses of ResourceKey in dev.wyck.worldgen.carver.custom
Methods in dev.wyck.worldgen.carver.custom that return ResourceKeyModifier and TypeMethodDescriptionCustomCarver.key()final @Nullable ResourceKeyCustomCarver.resourceKey()Internal method to get this carver's key without failing on absence.Methods in dev.wyck.worldgen.carver.custom with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic <C> CustomCarver<C> CustomCarver.register(ResourceKey key, CustomCarver<C> carver) Convenience method for registering a carver.final <T> TCustomCarver.registerAs(ResourceKey key) Registers this carver into the CARVER registry under the given key.Constructors in dev.wyck.worldgen.carver.custom with parameters of type ResourceKeyModifierConstructorDescriptionprotectedCustomCarver(Supplier<C> configSupplier, @Nullable ResourceKey key) Creates a new CustomCarver with the given configuration supplier and registry key. -
Uses of ResourceKey in dev.wyck.worldgen.carver.types
Methods in dev.wyck.worldgen.carver.types that return types with arguments of type ResourceKeyMethods in dev.wyck.worldgen.carver.types with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic ComposedCarverComposedCarver.of(@Nullable ResourceKey resourceKey, WorldCarverType type, CarverConfiguration config) Creates a new composed carver.static ReferencedCarverReferencedCarver.of(ResourceKey key) Creates a new reference to the given carver.ComposedCarver.Builder.resourceKey(ResourceKey resourceKey) Sets the resource key of the carver. -
Uses of ResourceKey in dev.wyck.worldgen.chunk
Methods in dev.wyck.worldgen.chunk with parameters of type ResourceKeyModifier and TypeMethodDescriptionNoiseBasedChunkGenerator.Builder.noise(ResourceKey resourceKey) Sets the noise generator of the chunk generator. -
Uses of ResourceKey in dev.wyck.worldgen.chunk.flat
Methods in dev.wyck.worldgen.chunk.flat that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionFlatLevelGeneratorSettings.structures()Keys of structures to generate.Methods in dev.wyck.worldgen.chunk.flat with parameters of type ResourceKeyModifier and TypeMethodDescriptionFlatLevelGeneratorSettings.Builder.structure(ResourceKey... structure) Adds a structure to the list of structures.Method parameters in dev.wyck.worldgen.chunk.flat with type arguments of type ResourceKeyModifier and TypeMethodDescriptionstatic FlatLevelGeneratorSettingsFlatLevelGeneratorSettings.of(List<FlatLayerInfo> layers, boolean decoration, boolean addLakes, Biome biome, Biome fallbackBiome, List<PlacedFeature> lakes, @Nullable Set<ResourceKey> structures) Creates a new FlatLevelGeneratorSettings.FlatLevelGeneratorSettings.Builder.structures(Set<ResourceKey> structures) Sets the keys of structures to generate. -
Uses of ResourceKey in dev.wyck.worldgen.feature
Methods in dev.wyck.worldgen.feature that return ResourceKeyMethods in dev.wyck.worldgen.feature that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionConfiguredFeature.resourceKey()The resource key of the configured feature, if present.Methods in dev.wyck.worldgen.feature with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic ReferencedConfiguredFeatureConfiguredFeature.reference(ResourceKey key) References a configured feature already registered under the given key. -
Uses of ResourceKey in dev.wyck.worldgen.feature.configurations
Methods in dev.wyck.worldgen.feature.configurations that return ResourceKeyModifier and TypeMethodDescriptionFossilFeatureConfiguration.fossilProcessors()Gets the resource key for fossil processors.FossilFeatureConfiguration.overlayProcessors()Gets the resource key for overlay processors.TemplateFeatureConfiguration.TemplateEntry.template()Returns the value of thetemplaterecord component.Methods in dev.wyck.worldgen.feature.configurations that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionFossilFeatureConfiguration.fossilStructures()Gets the list of resource keys for fossil structures.FossilFeatureConfiguration.overlayStructures()Gets the list of resource keys for overlay structures.Methods in dev.wyck.worldgen.feature.configurations with parameters of type ResourceKeyModifier and TypeMethodDescriptionFossilFeatureConfiguration.Builder.fossilProcessors(ResourceKey fossilProcessors) Sets the fossil processors for the fossil feature configuration.FossilFeatureConfiguration.Builder.fossilStructure(ResourceKey fossilStructure) Adds a fossil structure to the list of fossil structures.static FossilFeatureConfigurationFossilFeatureConfiguration.of(List<ResourceKey> fossilStructures, List<ResourceKey> overlayStructures, ResourceKey fossilProcessors, ResourceKey overlayProcessors, int maxEmptyCornersAllowed) Creates a new instance ofFossilFeatureConfigurationwith the specified parameters.TemplateFeatureConfiguration.TemplateEntry.of(ResourceKey template) Creates a template entry that allows every rotation.TemplateFeatureConfiguration.TemplateEntry.of(ResourceKey template, Rotation... rotations) Creates a template entry with the given rotations.FossilFeatureConfiguration.Builder.overlayProcessors(ResourceKey overlayProcessors) Sets the overlay processors for the fossil feature configuration.FossilFeatureConfiguration.Builder.overlayStructure(ResourceKey overlayStructure) Adds an overlay structure to the list of overlay structures.VegetationPatchConfiguration.Builder.replaceable(ResourceKey replaceable) Sets a block tag of blocks that the patch is allowed to replace.RootSystemConfiguration.Builder.rootReplaceable(ResourceKey rootReplaceable) Adds a tag of materials to the root-replaceable list.Method parameters in dev.wyck.worldgen.feature.configurations with type arguments of type ResourceKeyModifier and TypeMethodDescriptionFossilFeatureConfiguration.Builder.fossilStructures(List<ResourceKey> fossilStructures) Sets the fossil structures for the fossil feature configuration.static FossilFeatureConfigurationFossilFeatureConfiguration.of(List<ResourceKey> fossilStructures, List<ResourceKey> overlayStructures, ResourceKey fossilProcessors, ResourceKey overlayProcessors, int maxEmptyCornersAllowed) Creates a new instance ofFossilFeatureConfigurationwith the specified parameters.FossilFeatureConfiguration.Builder.overlayStructures(List<ResourceKey> overlayStructures) Sets the overlay structures for the fossil feature configuration.Constructors in dev.wyck.worldgen.feature.configurations with parameters of type ResourceKeyModifierConstructorDescriptionTemplateEntry(ResourceKey template, List<Rotation> rotations) Creates an instance of aTemplateEntryrecord class. -
Uses of ResourceKey in dev.wyck.worldgen.feature.configurations.geode
Methods in dev.wyck.worldgen.feature.configurations.geode with parameters of type ResourceKeyModifier and TypeMethodDescriptionGeodeBlockSettings.Builder.cannotReplace(ResourceKey cannotReplace) Sets the blocks listing which blocks the geode cannot replace.GeodeBlockSettings.Builder.invalidBlocks(ResourceKey invalidBlocks) Sets the block tag listing invalid blocks near which the geode will not generate. -
Uses of ResourceKey in dev.wyck.worldgen.feature.custom
Methods in dev.wyck.worldgen.feature.custom that return ResourceKeyModifier and TypeMethodDescriptionCustomFeature.key()final @Nullable ResourceKeyCustomFeature.resourceKey()Methods in dev.wyck.worldgen.feature.custom with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic <C> CustomFeature<C> CustomFeature.register(ResourceKey key, CustomFeature<C> feature) Convenience method for registering a feature.final <T> TCustomFeature.registerAs(ResourceKey key) Registers this feature into the FEATURE registry under the given key.Constructors in dev.wyck.worldgen.feature.custom with parameters of type ResourceKeyModifierConstructorDescriptionprotectedCustomFeature(Supplier<C> configSupplier, @Nullable ResourceKey key) Creates a new CustomFeature with the given configuration supplier and registry key. -
Uses of ResourceKey in dev.wyck.worldgen.feature.types
Methods in dev.wyck.worldgen.feature.types with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic ComposedConfiguredFeatureComposedConfiguredFeature.of(@Nullable ResourceKey key, FeatureType type, FeatureConfiguration config) Creates a new composed configured feature.static <C> CustomComposedConfiguredFeature<C> CustomComposedConfiguredFeature.of(@Nullable ResourceKey resourceKey, CustomFeature<C> feature, C config) Creates a new custom composed configured feature.static ReferencedConfiguredFeatureReferencedConfiguredFeature.of(ResourceKey key) Creates a new reference to the configured feature with the given key.ComposedConfiguredFeature.Builder.resourceKey(ResourceKey resourceKey) Sets the resource key of the configured feature.CustomComposedConfiguredFeature.Builder.resourceKey(ResourceKey resourceKey) Sets the resource key of the configured feature. -
Uses of ResourceKey in dev.wyck.worldgen.function
Methods in dev.wyck.worldgen.function that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionDensityFunction.resourceKey()The resource key of the density function, if present.Methods in dev.wyck.worldgen.function with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic ReferencedDensityFunctionDensityFunction.reference(ResourceKey key) Creates a reference to a density function already registered under the given key. -
Uses of ResourceKey in dev.wyck.worldgen.function.misc
Methods in dev.wyck.worldgen.function.misc with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic EndIslandsEndIslands.of(@Nullable ResourceKey resourceKey, long seed) Creates a new end islands density function.static FindTopSurfaceFindTopSurface.of(@Nullable ResourceKey resourceKey, DensityFunction density, DensityFunction upperBound, int lowerBound, int cellHeight) Creates a new find top surface density function.static MarkerMarker.of(@Nullable ResourceKey resourceKey, Marker.Type type, DensityFunction input) Creates a new marker.static RangeChoiceRangeChoice.of(@Nullable ResourceKey resourceKey, DensityFunction input, double minInclusive, double maxExclusive, DensityFunction whenInRange, DensityFunction whenOutOfRange) Creates a new range choice density function.static ReferencedDensityFunctionReferencedDensityFunction.of(ResourceKey key) Creates a newReferencedDensityFunctionfrom the given key.static YClampedGradientYClampedGradient.of(@Nullable ResourceKey resourceKey, int fromY, int toY, double fromValue, double toValue) Creates a new y clamped gradient density function.FindTopSurface.Builder.resourceKey(ResourceKey resourceKey) Sets the resource key.RangeChoice.Builder.resourceKey(ResourceKey resourceKey) Sets the resource key.YClampedGradient.Builder.resourceKey(ResourceKey resourceKey) Sets the resource key. -
Uses of ResourceKey in dev.wyck.worldgen.function.noise
Fields in dev.wyck.worldgen.function.noise declared as ResourceKeyModifier and TypeFieldDescriptionprotected @Nullable ResourceKeyNoiseFunction.AbstractBuilder.resourceKeyMethods in dev.wyck.worldgen.function.noise with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic MappedNoiseFunctionMappedNoiseFunction.of(@Nullable ResourceKey resourceKey, NoiseParameters noiseParameters, double xzScale, double yScale, double minTarget, double maxTarget) Creates a new mapped noise function.static NoiseFunctionNoiseFunction.of(@Nullable ResourceKey resourceKey, NoiseParameters noiseParameters, double xzScale, double yScale) Creates a new noise function.static ShiftedFunctionShiftedFunction.of(@Nullable ResourceKey resourceKey, NoiseParameters noiseParameters, ShiftedFunction.Kind kind) Creates a new shifted function.static ShiftedNoise2dFunctionShiftedNoise2dFunction.of(@Nullable ResourceKey resourceKey, NoiseParameters noiseParameters, DensityFunction shiftX, DensityFunction shiftZ, double xzScale) Creates a new shifted noise 2d density function.NoiseFunction.AbstractBuilder.resourceKey(ResourceKey resourceKey) Sets the resource key.ShiftedNoise2dFunction.Builder.resourceKey(@Nullable ResourceKey resourceKey) Sets the resource key. -
Uses of ResourceKey in dev.wyck.worldgen.function.simple
Methods in dev.wyck.worldgen.function.simple with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic ConstantSimpleFunctionConstantSimpleFunction.of(@Nullable ResourceKey resourceKey, double value) Creates a new constant density function.static TwoArgumentSimpleFunctionTwoArgumentSimpleFunction.of(@Nullable ResourceKey resourceKey, TwoArgumentSimpleFunction.Operation operation, DensityFunction first, DensityFunction second) Performs anTwoArgumentSimpleFunction.Operationon two density functions. -
Uses of ResourceKey in dev.wyck.worldgen.function.transformer
Methods in dev.wyck.worldgen.function.transformer with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic ClampedTransformerClampedTransformer.of(@Nullable ResourceKey resourceKey, DensityFunction input, double min, double max) Creates a new clamped density function.static MappedTransformerMappedTransformer.of(@Nullable ResourceKey resourceKey, DensityFunction input, MappedTransformer.Transform transformation) Creates a new mapped density function. -
Uses of ResourceKey in dev.wyck.worldgen.material
Methods in dev.wyck.worldgen.material that return ResourceKey -
Uses of ResourceKey in dev.wyck.worldgen.noise
Methods in dev.wyck.worldgen.noise that return types with arguments of type ResourceKeyMethods in dev.wyck.worldgen.noise with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic NoiseNoise.reference(ResourceKey key) Creates a reference to a noise function with the given key. -
Uses of ResourceKey in dev.wyck.worldgen.noise.types
Methods in dev.wyck.worldgen.noise.types with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic NoiseGeneratorSettingsNoiseGeneratorSettings.of(@Nullable ResourceKey resourceKey, NoiseSettings noiseSettings, BlockData defaultBlock, BlockData defaultFluid, NoiseRouter noiseRouter, SurfaceRule surfaceRule, List<ClimatePoint> spawnTarget, int seaLevel, boolean disableMobGeneration, boolean aquifersEnabled, boolean oreVeinsEnabled, boolean useLegacyRandomSource) Creates a new noise generator settings.static ReferencedNoiseReferencedNoise.of(ResourceKey resourceKey) The resource key of the noise function.NoiseGeneratorSettings.Builder.resourceKey(@Nullable ResourceKey resourceKey) Sets the resource key for this object. -
Uses of ResourceKey in dev.wyck.worldgen.placement
Methods in dev.wyck.worldgen.placement that return ResourceKeyModifier and TypeMethodDescriptionPlacedFeature.Reference.key()Returns the value of thekeyrecord component.Methods in dev.wyck.worldgen.placement with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic PlacedFeature.ReferencePlacedFeature.reference(ResourceKey key) References a placed feature already registered under the given key.Constructors in dev.wyck.worldgen.placement with parameters of type ResourceKeyModifierConstructorDescriptionReference(ResourceKey key) Creates an instance of aReferencerecord class. -
Uses of ResourceKey in dev.wyck.worldgen.ruletest
Methods in dev.wyck.worldgen.ruletest that return ResourceKeyMethods in dev.wyck.worldgen.ruletest with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic TagMatchTestTagMatchTest.of(ResourceKey tag) Creates a new tag match test.static TagMatchTestRuleTest.tagMatch(ResourceKey tag) Tests if the block is in the specified block tag. -
Uses of ResourceKey in dev.wyck.worldgen.structure
Fields in dev.wyck.worldgen.structure declared as ResourceKeyModifier and TypeFieldDescriptionstatic final ResourceKeyStructureSets.ANCIENT_CITIESstatic final ResourceKeyStructureSets.BURIED_TREASURESstatic final ResourceKeyStructureSets.DESERT_PYRAMIDSstatic final ResourceKeyStructureSets.END_CITIESstatic final ResourceKeyStructureSets.IGLOOSstatic final ResourceKeyStructureSets.JUNGLE_TEMPLESstatic final ResourceKeyStructureSets.MINESHAFTSstatic final ResourceKeyStructureSets.NETHER_COMPLEXESstatic final ResourceKeyStructureSets.NETHER_FOSSILSstatic final ResourceKeyStructureSets.OCEAN_MONUMENTSstatic final ResourceKeyStructureSets.OCEAN_RUINSstatic final ResourceKeyStructureSets.PILLAGER_OUTPOSTSstatic final ResourceKeyStructureSets.RUINED_PORTALSstatic final ResourceKeyStructureSets.SHIPWRECKSstatic final ResourceKeyStructureSets.STRONGHOLDSstatic final ResourceKeyStructureSets.SWAMP_HUTSstatic final ResourceKeyStructureSets.TRAIL_RUINSstatic final ResourceKeyStructureSets.TRIAL_CHAMBERSstatic final ResourceKeyStructureSets.VILLAGESstatic final ResourceKeyStructureSets.WOODLAND_MANSIONS -
Uses of ResourceKey in dev.wyck.worldgen.surface
Methods in dev.wyck.worldgen.surface with parameters of type ResourceKeyModifier and TypeMethodDescriptionSurfaceRule.noiseThreshold(ResourceKey noise, double minThreshold) Matches when a registered noise sampled at this position is at or above the threshold.SurfaceRule.noiseThreshold(ResourceKey noise, double minThreshold, double maxThreshold) Matches when a registered noise sampled at this position is within the threshold range.SurfaceRule.optionallyFlatBedrock(ResourceKey randomName, VerticalAnchor trueAtAndBelow, VerticalAnchor falseAtAndAbove, boolean roof) Creates Paper's bedrock gradient, which collapses to one layer when flat bedrock is enabled. -
Uses of ResourceKey in dev.wyck.worldgen.surface.condition
Methods in dev.wyck.worldgen.surface.condition that return ResourceKeyModifier and TypeMethodDescriptionNoiseThresholdConditionSource.noise()The key of the noise to sample.PaperOptionallyFlatBedrockConditionSource.randomName()Gets the seed name used to randomize the non-flat gradient.Methods in dev.wyck.worldgen.surface.condition with parameters of type ResourceKeyModifier and TypeMethodDescriptionNoiseThresholdConditionSource.Builder.noise(ResourceKey noise) Sets the key of the noise to sample.NoiseThresholdConditionSource.of(ResourceKey noise, double minThreshold) Creates a new noise threshold condition source with no upper bound.NoiseThresholdConditionSource.of(ResourceKey noise, double minThreshold, double maxThreshold) Creates a new noise threshold condition source.NoiseThresholdConditionSource.of(ResourceKey noise, double minThreshold, double maxThreshold, boolean is3d) Creates a noise threshold condition with an explicit sampling dimensionality.PaperOptionallyFlatBedrockConditionSource.of(ResourceKey randomName, VerticalAnchor trueAtAndBelow, VerticalAnchor falseAtAndAbove, boolean roof) Creates a new optionally-flat bedrock condition source.PaperOptionallyFlatBedrockConditionSource.Builder.randomName(ResourceKey randomName) Sets the seed name used to randomize the non-flat gradient.BiomeConditionSource.Builder.target(ResourceKey biomeKey) Adds a biome to the list of biomes where this condition matches. -
Uses of ResourceKey in dev.wyck.worldgen.synth
Methods in dev.wyck.worldgen.synth that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionNoiseParameters.resourceKey()The resource key of the noise parameters.Methods in dev.wyck.worldgen.synth with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic ComposedNoiseParametersComposedNoiseParameters.of(@Nullable ResourceKey resourceKey, int firstOctave, List<Double> amplitudes) Creates a new NoiseParameters.static ComposedNoiseParametersNoiseParameters.of(@Nullable ResourceKey resourceKey, int firstOctave, List<Double> amplitudes) Creates a new composed noise parameters.static ReferencedNoiseParametersNoiseParameters.of(ResourceKey key) Creates a reference to a noise parameters.static ReferencedNoiseParametersReferencedNoiseParameters.of(ResourceKey key) Create a new reference to a noise parameters.static ReferencedNoiseParametersNoiseParameters.reference(ResourceKey key) Creates a reference to a noise parameters.ComposedNoiseParameters.Builder.resourceKey(ResourceKey resourceKey) Sets the resource key of the noise parameters. -
Uses of ResourceKey in dev.wyck.wrapper
Method parameters in dev.wyck.wrapper with type arguments of type ResourceKeyModifier and TypeMethodDescriptionstatic <W> RegisteredConstantTranslator<W> RegisteredConstantTranslator.of(RegistryId registry, Function<W, ResourceKey> keyExtractor, W[] values) static <W> RegisteredConstantTranslator<W> RegisteredConstantTranslator.of(Lazy<WyckRegistry> passedRegistry, Function<W, ResourceKey> keyExtractor, W[] values) Translator that resolves a wrapper against the given registry by the key extracted from it and inverts through a lazily built identity map from the resolved registry value back to the wrapper.static <W> RegisteredConstantTranslator<W> RegisteredConstantTranslator.of(String name, Function<W, ResourceKey> keyExtractor, W[] values) -
Uses of ResourceKey in dev.wyck.wrapper.decode
Methods in dev.wyck.wrapper.decode that return ResourceKeyModifier and TypeMethodDescriptionprotected abstract ResourceKeyDecoderRegistry.discriminate(M minecraftObject) Gets the key that identifies the concrete type of a Minecraft object.Gets the decoder type key for a Minecraft object.final ResourceKeyMethods in dev.wyck.wrapper.decode that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionDecoder.handled()Gets every type key handled by the resolved decoder registry.final Set<ResourceKey> DecoderRegistry.handled()Gets every type key claimed by this registry.default Set<ResourceKey> Decodable.types()The type keys this decoder claims within aDecoderRegistry, empty when its family has a single implementation and is not dispatched.Methods in dev.wyck.wrapper.decode with parameters of type ResourceKeyModifier and TypeMethodDescriptionbooleanDecoder.handles(ResourceKey type) Gets whether the resolved registry has a decoder for a type key.final booleanDecoderRegistry.handles(ResourceKey type) protected final voidDecoderRegistry.register(ResourceKey key, Function<M, W> decoder) Registers an inline decoder under an explicit key, including family-defined pseudo-types.
Biome.reference(ResourceKey)andBiome.wrap()instead.