Skip to content

does anyone know why this isn't working #1848

Discussion options

You must be logged in to vote

does anyone know why this isn't working

Define "not working".
You can see the block states for a block if you press F3 (the debug overlay) and look at the block.

also is there any easy way to have an nbt tag/ blockstate be able to be applied to any block in the game or mods?

Not really.

For block states you could use a mixin to intercept the generic net.minecraft.block.(Abstract)Block methods, but changing the states for a block could interact badly with what the block is doing, e.g. its blockstates.json or dynamic rendering
The block also wouldn't know how to preserve your state when it changes its known states.

If a block is a BlockEntity it can have NBT.
However, this is only used for …

Replies: 6 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@AlexdaCat
Comment options

@AlexdaCat
Comment options

@AlexdaCat
Comment options

@warjort
Comment options

warjort Nov 21, 2021
Collaborator

Answer selected by AlexdaCat
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants