Trying to make a small personal mod for this server I’m in, using MC Forge for 1.20.1. We want to have custom bed models. I’ve got just about everything working except for a few things. For some reason I cannot figure out how to get the rotational block placement down. All my code looks correct so far, I’ve got a class to check for block placement, a block states and items and such. The block will place just fine until I try to add in block states then turns into a purple and black error block.
Going through documentation I’ve tried changing how the class is called, how the block registry is. I’ve changed the block states multiple times and when the block states are only something like
{
"variants": {
"": {
"model": "tutorial_testing:block/hope_bed"
}
}
}
The bed is then able to show up but once I try to put in something like:
{
"variants": {
"facing = north": {
"model": "tutorial_testing:block/hope_bed"},
"facing = east": {
"model": "tutorial_testing:block/hope_bed",
"y": 90
},
"facing = south": {
"model": "tutorial_testing:block/hope_bed",
"y": 180
},
"facing = west": {
"model": "tutorial_testing:block/hope_bed",
"y": 270
}
}
}
The block turns into the purple and black texture block. I know it’s something to do with how it cannot find the textures but cannot for the life of me figure out why.
PupsiCola is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.