Skip to content

I don't know what I am doing. #185

Discussion options

You must be logged in to vote

Here's your problem:

event.remove({
  output: [ // This line
    'decorative_blocks:lattice',
  ] // And this
})

Those []s should not be there.

event.remove(
  {output: 'decorative_blocks:lattice'}
)

Here's a removal script that should be less unwieldy to use than event.remove:

const REMOVE = [
  {output: "decorative_blocks:lattice"}, /** 
                                          * Add entries here.
                                          * Strings and regexes will be interpreted as {id: } so you never need to type,
                                          * say, {id: "minecraft:stone"}, you can just use "minecraft:stone".
                                          * You may safely r…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by MaxNeedsSnacks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #175 on August 19, 2021 11:13.