Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Ragnar

Members
  • Joined

  • Last visited

Everything posted by Ragnar

  1. but I would not have to return also in getBoundingBox?
  2. ] this is working for me, but I would like to add more than one AxisAlignedBB in the list how do I do this? @Override public AxisAlignedBB getBoundingBox(IBlockState blockState, IBlockAccess worldIn, BlockPos pos) { return under; } public void addCollisionBoxToList(IBlockState state, World worldIn, BlockPos pos, AxisAlignedBB entityBox, List<AxisAlignedBB> collidingBoxes, @Nullable Entity entityIn) { super.addCollisionBoxToList(pos, entityBox, collidingBoxes, under); }
  3. How addCollisionBoxToList is.
  4. this is exactly what I want, now how would the method be in list because I go for more?
  5. public static final AxisAlignedBB under = new AxisAlignedBB(0.0625D, 0.0625D, 0.0625D, 0.9375D, 0.125D, 0.9375D); Is it right? if is it right , i am wrong in the method because it is not working
  6. 1 pixel is 0.0625D or 0.625D or no?
  7. public static final AxisAlignedBB under = new AxisAlignedBB(1, 0, 1, 15, 2, 15); public void addCollisionBoxToList(IBlockState state, World worldIn, BlockPos pos, AxisAlignedBB entityBox, List<AxisAlignedBB> collidingBoxes, @Nullable Entity entityIn, boolean isActualState) { addCollisionBoxToList(pos, entityBox, collidingBoxes, under); } Should not this work?
  8. and how AxisAlignedBB works
  9. And what do I put in the method?
  10. Is it possible for me to modify the hit box to put it in the format of my block?
  11. I did not understand how to use this, but I did on the basis of the tests
  12. what is this?
  13. Ok I understood how I spawn particle but how do I get the block position I want, I wanted to get that part that is raised from the middle, how do I do?
  14. which class is it?
  15. it was this, I was using TRANSLUCENT and not CUTOUT Is it possible for me to put particles a little above the block? if so how could I do this?
  16. so the bug you're giving and because of the texture and not the template? but still think the problem is in the model and not in the texture
  17. I know there are several programs to do more easily, but I want to do it this way, not wanting to be inelegant
  18. do not bother with the textures, I'm first doing the model, and then put the texture "elements": [ { "__comment": "Pedestal under", "from": [ 1, 0, 1 ], "to": [ 15, 2, 15 ], "faces": { "down": { "uv": [ 1, 16, 1, 16], "texture": "0"}, "up": { "uv": [ 16, 1, 16, 1], "texture": "0"}, "north": { "uv": [ 1, 16, 1, 16], "texture": "0"}, "south": { "uv": [ 16, 1, 16, 1], "texture": "0"}, "west": { "uv": [ 1, 16, 1, 16], "texture": "0"}, "east": { "uv": [ 16, 1, 16, 1], "texture": "0"} } }, { "__comment": "Pedestal middle", "from": [ 3, 2, 3 ], "to": [ 13, 12, 13 ], "faces": { "down": { "uv": [ 1, 16, 1, 16], "texture": "0"}, "up": { "uv": [ 16, 1, 16, 1], "texture": "0"}, "north": { "uv": [ 1, 16, 1, 16], "texture": "0"}, "south": { "uv": [ 16, 1, 16, 1], "texture": "0"}, "west": { "uv": [ 1, 16, 1, 16], "texture": "0"}, "east": { "uv": [ 16, 1, 16, 1], "texture": "0"} } }, { "__comment": "Pedestal top", "from": [ 1, 12, 1 ], "to": [ 15, 14, 15 ], "faces": { "down": { "uv": [ 1, 16, 1, 16], "texture": "0"}, "up": { "uv": [ 16, 1, 16, 1], "texture": "0"}, "north": { "uv": [ 1, 16, 1, 16], "texture": "0"}, "south": { "uv": [ 16, 1, 16, 1], "texture": "0"}, "west": { "uv": [ 1, 16, 1, 16], "texture": "0"}, "east": { "uv": [ 16, 1, 16, 1], "texture": "0"} } }, { "__comment": "Pedestal candles 1", "from": [ 3, 14, 3 ], "to": [ 5, 16, 5 ], "faces": { "down": { "uv": [ 1, 16, 1, 16], "texture": "0"}, "up": { "uv": [ 16, 1, 16, 1], "texture": "0"}, "north": { "uv": [ 1, 16, 1, 16], "texture": "0"}, "south": { "uv": [ 16, 1, 16, 1], "texture": "0"}, "west": { "uv": [ 1, 16, 1, 16], "texture": "0"}, "east": { "uv": [ 16, 1, 16, 1], "texture": "0"} } }, { "__comment": "Pedestal candles 2", "from": [ 11, 14, 3 ], "to": [ 13, 16, 5 ], "faces": { "down": { "uv": [ 1, 16, 1, 16], "texture": "0"}, "up": { "uv": [ 16, 1, 16, 1], "texture": "0"}, "north": { "uv": [ 1, 16, 1, 16], "texture": "0"}, "south": { "uv": [ 16, 1, 16, 1], "texture": "0"}, "west": { "uv": [ 1, 16, 1, 16], "texture": "0"}, "east": { "uv": [ 16, 1, 16, 1], "texture": "0"} } }, { "__comment": "Pedestal candles 3", "from": [ 3, 14, 11 ], "to": [ 5, 16, 13 ], "faces": { "down": { "uv": [ 1, 16, 1, 16], "texture": "0"}, "up": { "uv": [ 16, 1, 16, 1], "texture": "0"}, "north": { "uv": [ 1, 16, 1, 16], "texture": "0"}, "south": { "uv": [ 16, 1, 16, 1], "texture": "0"}, "west": { "uv": [ 1, 16, 1, 16], "texture": "0"}, "east": { "uv": [ 16, 1, 16, 1], "texture": "0"} } }, { "__comment": "Pedestal candles 4", "from": [ 11, 14, 11 ], "to": [ 13, 16, 13 ], "faces": { "down": { "uv": [ 1, 16, 1, 16], "texture": "0"}, "up": { "uv": [ 16, 1, 16, 1], "texture": "0"}, "north": { "uv": [ 1, 16, 1, 16], "texture": "0"}, "south": { "uv": [ 16, 1, 16, 1], "texture": "0"}, "west": { "uv": [ 1, 16, 1, 16], "texture": "0"}, "east": { "uv": [ 16, 1, 16, 1], "texture": "0"} } }, { "__comment": "Pedestal candles 5", "from": [ 7, 14, 7 ], "to": [ 9, 16, 9 ], "faces": { "down": { "uv": [ 1, 16, 1, 16], "texture": "0"}, "up": { "uv": [ 16, 1, 16, 1], "texture": "0"}, "north": { "uv": [ 1, 16, 1, 16], "texture": "0"}, "south": { "uv": [ 16, 1, 16, 1], "texture": "0"}, "west": { "uv": [ 1, 16, 1, 16], "texture": "0"}, "east": { "uv": [ 16, 1, 16, 1], "texture": "0"} } } ]
  19. I made it but when I look from the bottom up, it shows what I did in the top layer, look
  20. now I'm confused
  21. Okay, thank you so much, I'll start testing now.
  22. goes from 0 to 16? or is it from -16 to 16? ah ai is the texture of the respective sides as "down", "north". And is xStart, yStart, send, and in that order? and what would the "send"? Sorry for the thousand questions, but you're really helping me a lot, thank you. Is there any way I can reciprocate?
  23. but it has 4 numbers, would it be x, y, z and the other?
  24. and how many x does a block have? and z and y?
  25. for exemple "__comment": "Anvil base", "from": [ 2, 0, 2 ], "to": [ 14, 4, 14 ], "faces": { "down": { "uv": [ 2, 2, 14, 14 ], "texture": "#body", "rotation": 180, "cullface": "down" }, "up": { "uv": [ 2, 2, 14, 14 ], "texture": "#body", "rotation": 180 }, "north": { "uv": [ 2, 12, 14, 16 ], "texture": "#body" }, "south": { "uv": [ 2, 12, 14, 16 ], "texture": "#body" }, "west": { "uv": [ 0, 2, 4, 14 ], "texture": "#body", "rotation": 90 }, "east": { "uv": [ 4, 2, 0, 14 ], "texture": "#body", "rotation": 270 } in "from" and "to" 3 arguments (of numbers) what each one is? in "down" what does each argument in "uv" mean?

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.