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 EasingEasing.reference(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.VirtualBiome(ResourceKey biomeResourceKey, List<BlockReplacement> blockReplacements, BiPredicate<Player, ChunkLocation> conditional, @Nullable BiPredicate<Player, SnapshotChunkData> biomeCondition, @Nullable BiPredicate<Player, BiomePosition> positionCondition, @Nullable BiPredicate<Player, ChunkLocation> wholeChunkCondition, PacketHandler.Priority priority) Creates a virtual biome that can declare whole chunks exempt from its cell pass. -
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.biomes(ResourceKey key) Creates a biome tag key from its identifier.static 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.ofBiomes(@Nullable ResourceKey resourceKey, Biome... biomes) Creates a tag set of explicit biomes.TagSet.ofBiomes(@Nullable ResourceKey resourceKey, Set<Biome> biomes) Creates a tag set of explicit biomes.TagSet.ofBiomeTag(ResourceKey key) Creates a tag set referencing a named biome tag.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
Methods in dev.wyck.worldgen that return ResourceKeyModifier and TypeMethodDescriptionWorldContext.resourceKey()Returns the value of theresourceKeyrecord component.Constructors in dev.wyck.worldgen with parameters of type ResourceKeyModifierConstructorDescriptionWorldContext(ResourceKey resourceKey, UUID uuid, long seed, int minHeight, int maxHeight, Dimension dimension, ChunkGenerator chunkGenerator, String bukkitName, World.Environment environment) Creates an instance of aWorldContextrecord 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 ReferencedCarverWorldCarver.reference(ResourceKey key) References a 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()The registry key assigned to this carver.final @Nullable ResourceKeyCustomCarver.resourceKey()Returns the nullable registry key used by the runtime bridge.Methods in dev.wyck.worldgen.carver.custom with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic <C> CustomCarver<C> CustomCarver.register(ResourceKey key, CustomCarver<C> carver) Registers a custom carver using the supplied registry key.final <T> TCustomCarver.registerAs(ResourceKey key) Clones and registers this carver using the supplied registry key.Constructors in dev.wyck.worldgen.carver.custom with parameters of type ResourceKeyModifierConstructorDescriptionprotectedCustomCarver(Supplier<C> configSupplier, @Nullable ResourceKey key) Creates a custom carver with an optional 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.feature
Methods in dev.wyck.worldgen.feature that return ResourceKeyMethods in dev.wyck.worldgen.feature that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionFeature.resourceKey()The resource key of the feature, if present.Methods in dev.wyck.worldgen.feature with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic ReferencedFeatureFeature.reference(ResourceKey key) References a feature already registered under the given key. -
Uses of ResourceKey in dev.wyck.worldgen.feature.configurations
Methods in dev.wyck.worldgen.feature.configurations with parameters of type ResourceKeyModifier and TypeMethodDescriptionVegetationPatchFeature.Builder.replaceable(ResourceKey replaceable) Sets a block tag of blocks that the patch is allowed to replace.RootSystemFeature.Builder.rootReplaceable(ResourceKey rootReplaceable) Adds a tag of materials to the root-replaceable list. -
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 ComposedFeatureComposedFeature.of(@Nullable ResourceKey key, FeatureType type, FeatureConfiguration config) Creates a new composed configured feature.static <C> CustomComposedFeature<C> CustomComposedFeature.of(@Nullable ResourceKey resourceKey, CustomFeature<C> feature, C config) Creates a new custom composed configured feature.static ReferencedFeatureReferencedFeature.of(ResourceKey key) Creates a new reference to the configured feature with the given key.ComposedFeature.Builder.resourceKey(ResourceKey resourceKey) Sets the resource key of the configured feature.CustomComposedFeature.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) 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, int cellSizeHorizontal, int cellSizeVertical) 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 NoiseFunctionNoiseFunction.of(@Nullable ResourceKey resourceKey, NoiseParameters noiseParameters, double xzScale, double yScale, DensityFunction shiftX, DensityFunction shiftY, DensityFunction shiftZ) Creates a new noise function with coordinate shifts.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<SpawnTargetPoint> spawnTarget, int seaLevel, boolean disableMobGeneration, @Nullable AquiferSettings aquifers, boolean useLegacyRandomSource) Creates noise generator settings.static ReferencedNoiseReferencedNoise.of(ResourceKey resourceKey) The resource key of the noise function.NoiseGeneratorSettings.Builder.resourceKey(@Nullable ResourceKey resourceKey) Sets the registry key. -
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
Methods in dev.wyck.worldgen.structure that return ResourceKeyMethods in dev.wyck.worldgen.structure with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic ReferencedStructureStructure.reference(ResourceKey key) References a structure already registered under the given key.static ReferencedStructureSetStructureSet.reference(ResourceKey key) References a structure set already registered under the given key. -
Uses of ResourceKey in dev.wyck.worldgen.structure.pools
Methods in dev.wyck.worldgen.structure.pools with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic ReferencedTemplatePoolTemplatePool.reference(ResourceKey key) References a template pool already registered under the given key. -
Uses of ResourceKey in dev.wyck.worldgen.structure.pools.types
Methods in dev.wyck.worldgen.structure.pools.types that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionComposedTemplatePool.resourceKey()The resource key of the template pool.Methods in dev.wyck.worldgen.structure.pools.types with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic ComposedTemplatePoolComposedTemplatePool.of(@Nullable ResourceKey resourceKey, TemplatePool fallback, List<ComposedTemplatePool.Entry> elements) Creates a new composed template pool.static ReferencedTemplatePoolReferencedTemplatePool.of(ResourceKey key) Creates a new reference to the given template pool.ComposedTemplatePool.Builder.resourceKey(ResourceKey resourceKey) Sets the resource key of the template pool. -
Uses of ResourceKey in dev.wyck.worldgen.structure.templatesystem
Methods in dev.wyck.worldgen.structure.templatesystem that return ResourceKeyMethods in dev.wyck.worldgen.structure.templatesystem with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic StructureTemplateStructureTemplate.of(ResourceKey key) Names a template Minecraft already knows about, from a data pack or the world'sgeneratedfolder.static StructureTemplateStructureTemplate.of(ResourceKey key, URL nbtResource) Creates a template loaded from an NBT resource, such as one inside a plugin jar obtained withClass.getResource(String).static StructureTemplateStructureTemplate.of(ResourceKey key, Path nbtFile) Creates a template loaded from an NBT file on disk, such as one saved with a structure block.static ReferencedProcessorListProcessorList.reference(ResourceKey key) References a processor list already registered under the given key. -
Uses of ResourceKey in dev.wyck.worldgen.structure.templatesystem.rule
Methods in dev.wyck.worldgen.structure.templatesystem.rule that return ResourceKeyModifier and TypeMethodDescriptionAppendLootModifier.lootTable()The loot table given to the block entity.Methods in dev.wyck.worldgen.structure.templatesystem.rule with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic AppendLootModifierBlockEntityModifier.appendLoot(ResourceKey lootTable) Gives the block entity a loot table, as trail ruins do for suspicious gravel.static AppendLootModifierAppendLootModifier.of(ResourceKey lootTable) Creates a new append-loot modifier. -
Uses of ResourceKey in dev.wyck.worldgen.structure.templatesystem.types
Methods in dev.wyck.worldgen.structure.templatesystem.types that return ResourceKeyModifier and TypeMethodDescriptionReferencedProcessorList.key()The resource key of the referenced processor list.Methods in dev.wyck.worldgen.structure.templatesystem.types that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionComposedProcessorList.resourceKey()The resource key of the processor list.Methods in dev.wyck.worldgen.structure.templatesystem.types with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic ComposedProcessorListComposedProcessorList.of(@Nullable ResourceKey resourceKey, List<StructureProcessor> processors) Creates a new composed processor list.static ReferencedProcessorListReferencedProcessorList.of(ResourceKey key) Creates a new reference to the given processor list.ComposedProcessorList.Builder.resourceKey(ResourceKey resourceKey) Sets the resource key of the processor list. -
Uses of ResourceKey in dev.wyck.worldgen.structure.types
Methods in dev.wyck.worldgen.structure.types that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionComposedStructure.resourceKey()The resource key of the structure.ComposedStructureSet.resourceKey()The resource key of the structure set.DefinedStructure.resourceKey()The resource key of the structure.JigsawStructure.resourceKey()The resource key of the structure.JigsawStructure.startJigsawName()The name of the jigsaw block in the start piece that is anchored to the structure's position.Methods in dev.wyck.worldgen.structure.types with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic ComposedStructureComposedStructure.of(@Nullable ResourceKey resourceKey, StructureSettings settings, Object minecraftStructure) Creates a new composed structure around an already-built Minecraft structure.static ComposedStructureSetComposedStructureSet.of(@Nullable ResourceKey resourceKey, List<StructureSet.Entry> structures, StructurePlacement placement) Creates a new composed structure set.static JigsawStructureJigsawStructure.of(@Nullable ResourceKey resourceKey, StructureSettings settings, TemplatePool startPool, @Nullable ResourceKey startJigsawName, int size, HeightProvider startHeight, boolean useExpansionHack, @Nullable HeightmapType projectStartToHeightmap, JigsawStructure.MaxDistance maxDistanceFromCenter, List<PoolAliasBinding> poolAliases, DimensionPadding dimensionPadding, LiquidSettings liquidSettings) Creates a new jigsaw structure.static MineshaftStructureMineshaftStructure.of(@Nullable ResourceKey resourceKey, StructureSettings settings, MineshaftStructure.Type mineshaftType) Creates a new mineshaft.static NetherFossilStructureNetherFossilStructure.of(@Nullable ResourceKey resourceKey, StructureSettings settings, HeightProvider height) Creates a new nether fossil.static OceanRuinStructureOceanRuinStructure.of(@Nullable ResourceKey resourceKey, StructureSettings settings, OceanRuinStructure.BiomeTemperature biomeTemperature, float largeProbability, float clusterProbability) Creates a new ocean ruin.static ReferencedStructureReferencedStructure.of(ResourceKey key) Creates a new reference to the given structure.static ReferencedStructureSetReferencedStructureSet.of(ResourceKey key) Creates a new reference to the given structure set.static RuinedPortalStructureRuinedPortalStructure.of(@Nullable ResourceKey resourceKey, StructureSettings settings, List<RuinedPortalStructure.Setup> setups) Creates a new ruined portal.static ShipwreckStructureShipwreckStructure.of(@Nullable ResourceKey resourceKey, StructureSettings settings, boolean beached) Creates a new shipwreck.static SimpleStructureSimpleStructure.of(@Nullable ResourceKey resourceKey, StructureType type, StructureSettings settings) Creates a new structure of a type that takes no configuration.ComposedStructure.Builder.resourceKey(ResourceKey resourceKey) Sets the resource key of the structure.ComposedStructureSet.Builder.resourceKey(ResourceKey resourceKey) Sets the resource key of the structure set.JigsawStructure.Builder.resourceKey(ResourceKey resourceKey) Sets the resource key of the structure.MineshaftStructure.Builder.resourceKey(ResourceKey resourceKey) Sets the resource key of the structure.NetherFossilStructure.Builder.resourceKey(ResourceKey resourceKey) Sets the resource key of the structure.OceanRuinStructure.Builder.resourceKey(ResourceKey resourceKey) Sets the resource key of the structure.RuinedPortalStructure.Builder.resourceKey(ResourceKey resourceKey) Sets the resource key of the structure.ShipwreckStructure.Builder.resourceKey(ResourceKey resourceKey) Sets the resource key of the structure.SimpleStructure.Builder.resourceKey(ResourceKey resourceKey) Sets the resource key of the structure.JigsawStructure.Builder.startJigsawName(ResourceKey startJigsawName) Sets the jigsaw block in the start piece anchored to the structure's position.default ComposedStructureComposedStructure.withResourceKey(ResourceKey resourceKey) DefinedStructure.withResourceKey(ResourceKey resourceKey) Returns a copy of this structure registered under the given key.default JigsawStructureJigsawStructure.withResourceKey(ResourceKey resourceKey) default MineshaftStructureMineshaftStructure.withResourceKey(ResourceKey resourceKey) default NetherFossilStructureNetherFossilStructure.withResourceKey(ResourceKey resourceKey) default OceanRuinStructureOceanRuinStructure.withResourceKey(ResourceKey resourceKey) default RuinedPortalStructureRuinedPortalStructure.withResourceKey(ResourceKey resourceKey) default ShipwreckStructureShipwreckStructure.withResourceKey(ResourceKey resourceKey) default SimpleStructureSimpleStructure.withResourceKey(ResourceKey resourceKey) -
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.