Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Nyko

Members
  • Posts

    29
  • Joined

  • Last visited

1 Follower

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Nyko's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. so that would generate the feature like the coal ore in the picture: .range(new RangeDecoratorConfiguration(TrapezoidHeight.of(VerticalAnchor.absolute(0), VerticalAnchor.absolute(192), 96)))
  2. omg i stupid Another question what is the difference between Decoratable#rangeUniform and Decoratable#rangeTriangle
  3. okay thanks do you have an idea what i can do instead with a RenderDistance of 8 yes (i normally use the max value)😁
  4. sorry, for asking but is it possible that the VerticalAnchor only work in the positive direction, because i move currently my features into the new world height (-1024<->1024) and if the VerticalAnchor is negativ they will not generate
  5. where do I have to put the file (overworld.json)
  6. can I only use the vanilla values, so like y_min=-64 and height=384 or its possible to create a larger world? so like y_min=-256 and height= 512?
  7. Minecraft 1.17 update is out and the Forge version is finally out too, vanilla's datapack makes it possible to change the height of the world, is this also possible for a mod? if it is possible how do i change the height?
  8. thanks, I changed my event like this and it works @SubscribeEvent public static void biomeLoadingRemove(BiomeLoadingEvent event) { Category category = event.getCategory(); BiomeGenerationSettingsBuilder genBuilder = event.getGeneration(); if (category == Category.THEEND) { } else if (category == Category.NETHER) { } else { for (Decoration stage : GenerationStage.Decoration.values()) { genBuilder.getFeatures(stage).removeIf((supplier) -> { ConfiguredFeature<?, ?> configuredFeature = supplier.get(); for (ConfiguredFeature<?, ?> feature : configuredFeature.getFeatures().collect(Collectors.toList())) { if (feature.feature instanceof OreFeature) { return true; } } return false; }); } } }
  9. As the title suggests, I can modify vanilla biome, more precisely, I cannot remove any feature. The one below is currently my BiomeLoadingEvent in which I am trying to remove all OreFetures from all overworld vanilla biomes. I've tried a lot of manual iterating, removeIf, but all of them return false when checking for the correct feature. @SubscribeEvent public static void biomeLoadingRemove(BiomeLoadingEvent event) { Category category = event.getCategory(); BiomeGenerationSettingsBuilder genBuilder = event.getGeneration(); if (category == Category.THEEND) { } else if (category == Category.NETHER) { } else { for (Decoration stage : GenerationStage.Decoration.values()) { genBuilder.getFeatures(stage).removeIf((supplier) -> { ConfiguredFeature<?, ?> configuredFeature = supplier.get(); return configuredFeature.feature() instanceof OreFeature; }); } } } am I doing something wrong, and if so, what? thanks for replies
  10. learn basic java, mod means modification, also this class from your own mod and not from minecraft forge api which is why you have to create this class first due the error if you want to create a custom dimension expand the dimension class (net.minecraft.world.dimension.Dimension) or anywhere in (net.minecraft.world)
  11. there is an event in which I can change the rendering of items, I need the event to render an overlay for each item (like the enchantment glint effect) thanks for replies
  12. in short I would like to change the minecraft vanilla enchantment glint so that depending on the enchantment the glint effect has a different color (e.g. FireProtection has an red / orange glint effect and so on). is there an easy way to implement this?
×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.