Posted September 28, 20205 yr Hi! I'm trying to figure out how to make a block like crime-scene tape. In my mind, it would work similarly to a fence in that it connects to its neighbours, but also if you place a tape block above/below it, it will expand to fill the space between. My texture is easily repeatable, so this won't be a problem. This is my first time attempting a block this complex, so any and all help is much appreciated. Thanks! Today (22/10/20) I reached 100 posts! I'm probably more excited than I should be for something so realistically minor...
September 28, 20205 yr You'll want to implement custom VoxelShapes for different blockstates in your block class. It might be helpful to extend FenceBlock if you want to use some of the logic already present there. You might first want to create the block model(s) in a program like BlockBench, and then get the model coordinates from there to put in the class. I recommend TechnoVision's tutorial on custom block models. It's also helpful to look at vanilla classes. Edited September 29, 20205 yr by urbanxx001
September 29, 20205 yr Author Thanks! I have been looking at fences, walls and the like, so I think I have a better idea now. I'll make those models first, as you said, it might help. Thank you! Today (22/10/20) I reached 100 posts! I'm probably more excited than I should be for something so realistically minor...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.