{ HELP } How to Generate Structures w/ nbt files

Started by Rusty on

Topic category: Help with modding (Java Edition)

Last seen on 05:40, 21. Jan 2024
Joined Aug 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
{ HELP } How to Generate Structures w/ nbt files

So basically,

I want to make a feature element that uses .nbt files.

I'm trying to make dynamic trees that aren't just restricted to Mojang's tree type feature.

 

So building randomly generated features from structure files.

This is possible through CorgiLib,

like this one I took form Byg;

{"type":"corgilib:tree_from_nbt","config":{"base_location":"byg:features/trees/ancient/ancient_tree_trunk1","can_grow_on_filter":{"type":"minecraft:matching_block_tag","tag":"byg:may_place_on/ebony_sapling"},"can_leaves_place_filter":{"type":"minecraft:replaceable"},"canopy_location":"byg:features/trees/ancient/ancient_tree_canopy1","height":{"type":"minecraft:biased_to_bottom","value":{"max_inclusive":15,"min_inclusive":5}},"leaves_provider":{"type":"minecraft:weighted_state_provider","entries":[{"data":{"Name":"minecraft:dark_oak_leaves","Properties":{"distance":"7","persistent":"false","waterlogged":"false"}},"weight":1}]},"leaves_target":["minecraft:dark_oak_leaves"],"log_provider":{"type":"minecraft:simple_state_provider","state":{"Name":"minecraft:dark_oak_log","Properties":{"axis":"y"}}},"log_target":["minecraft:dark_oak_log"],"place_from_nbt":[]}}

On that note though, If it is possible it'd really help if a plugin for corgilib was created

Last seen on 05:40, 21. Jan 2024
Joined Aug 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
nvm I found the tutorial 4…
Tue, 08/29/2023 - 07:35

nvm I found the tutorial 4 it; for anyone curios here.

If anyone's still interested in providing some help I'd still appreciate it...