Better One Block

Better One Block

13.3k Downloads

[Suggestion] Config options

Closed this issue ยท 23 comments

commented

So i was testing out the mod to see if my datapack was working and noticed a few things i'd like config option for if you could please.

  1. An option to disable hostile mobs.
  2. An option to disable and/or change the name given to spawned mobs.
  3. Option to disable the end portal from spawning.
commented

Glad someone is using this mod, even though it's simple.
The first and third problems only require adjusting the data package. Currently, it needs to be overwritten.
The second problem currently does not provide a shutdown option, but the custom name can be modified through the Lang file.

commented

it is an option, if added to the configuration instead of the data package. Is that what you want?

commented

it is an option, if added to the configuration instead of the data package. Is that what you want?

ideally, while making and modifying a datapack can be done, i think if its possible and you dont mind adding them, i think it would be a great QOL for people.

How would i make a datapack for your mod? i ask because i thought i did, but it seems like its not working.

commented

There is actually no difference here from any other normal data packet. What have you done?

commented

Due to time constraints, I haven't made a tutorial yet, so you can only refer to the existing json files in the mod.

https://github.com/joe-vettek/One-Block/tree/main/src/main/resources/datapacks/oneblock/data/oneblock/oneblock/common

commented

There is actually no difference here from any other normal data packet. What have you done?

i downloaded the source, extracted the datapack for "create" and modified it. the changes are not working with and without the compat set to false.

commented

I'd need to see your directory structure and where you put these.

commented

oneblock-extra-create.zip

here is my modified datapack, as for where it located i am using a mod called "paxi" to inject the datapack in all newly created worlds.

commented

Have you used the command /datapacks list to see that if you have imported this datapack?

commented

Noticed you made a mistake. you lost "{" before an enrty, so the json file is invalid

{
  "name": "",
  "target": "oneblock:phases/12",
  "list": [
    {
      "type": "block",
      "id": "create:deepslate_zinc_ore",
      "weight": 20
    },
    {
      "type": "block",
      "id": "create:asurine",
      "weight": 30
    },
    {
      "type": "block",
      "id": "create:crimsite",
      "weight": 30
    },
    {
      "type": "block",
      "id": "create:ochrum",
      "weight": 8
    },
	      "type": "block",
      "id": "create_new_age:thorium_ore",
      "weight": 1
    }
  ]
}
commented

you can try this tool

commented

bur

Noticed you made a mistake. you lost "{" before an enrty, so the json file is invalid

{
  "name": "",
  "target": "oneblock:phases/12",
  "list": [
    {
      "type": "block",
      "id": "create:deepslate_zinc_ore",
      "weight": 20
    },
    {
      "type": "block",
      "id": "create:asurine",
      "weight": 30
    },
    {
      "type": "block",
      "id": "create:crimsite",
      "weight": 30
    },
    {
      "type": "block",
      "id": "create:ochrum",
      "weight": 8
    },
	      "type": "block",
      "id": "create_new_age:thorium_ore",
      "weight": 1
    }
  ]
}

uggg, i thought i coppied it correctly, guess i missed it, ty

commented

got it working now ty

commented

i have upload a version with the configs you need

commented

i have upload a version with the configs you need

thank you! that was faster than expected

commented

i have upload a version with the configs you need

did you intentionally remove the particle effects from the block?

commented

I'm a little confused what this means?

commented

I'm a little confused what this means?

After the update, the particles for the oneblock are gone.

commented

I can't upload pictures now, I don't know why, but you'd better take a screenshot to illustrate.

commented

particle effects are normal in my machine.

commented

i have these options changed

AddMobName = false
AllowUnfriendlyMobs = false
AllowGenerateStructure = false

before the update it looked like this (this is from a video that has the same effects)

image

This is what mine looks like

image

commented

oh wait nvm, it was my fault. my particles were set to minimum, as i was having issues with another mods particles.