October 4, 20186 yr Author 2 minutes ago, Draco18s said: Look at where vanilla makes particles. which class is it?
October 4, 20186 yr Quick: Name a block that emits particles Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
October 4, 20186 yr Author 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?
October 4, 20186 yr 4 minutes ago, Ragnar said: 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? position passed in + 0.5x + 1y + 0.5z Use the debugger’s hotswap code feature to tinker around with the values. Edited October 4, 20186 yr by Cadiboo About Me Spoiler My Discord - Cadiboo#8887 My Website - Cadiboo.github.io My Mods - Cadiboo.github.io/projects My Tutorials - Cadiboo.github.io/tutorials Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support. When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible. Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)
October 4, 20186 yr http://www.vogella.com/tutorials/EclipseDebugging/article.html Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
October 4, 20186 yr 3 hours ago, Draco18s said: and its not xEnd, yEnd, its xWidth and yHeight. I don' think that is true. At least after looking through some of the vanilla models. VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect. Forge and vanilla BlockState generator.
October 4, 20186 yr Author 11 minutes ago, Draco18s said: http://www.vogella.com/tutorials/EclipseDebugging/article.html I did not understand how to use this, but I did on the basis of the tests
October 4, 20186 yr 8 minutes ago, Animefan8888 said: I don' think that is true. At least after looking through some of the vanilla models. I'll admit I might be wrong, its been a while since I messed with it. Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
October 4, 20186 yr Author Is it possible for me to modify the hit box to put it in the format of my block?
October 4, 20186 yr 8 minutes ago, Ragnar said: Is it possible for me to modify the hit box to put it in the format of my block? override getCollisionBoundingBox(IBlockState, IBlockAccess, BlockPos) in your blocks class. VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect. Forge and vanilla BlockState generator.
October 4, 20186 yr Author 8 minutes ago, Animefan8888 said: override getCollisionBoundingBox(IBlockState, IBlockAccess, BlockPos) in your blocks class. And what do I put in the method?
October 4, 20186 yr 2 minutes ago, Ragnar said: And what do I put in the method? It needs to return the collision box, an instance of AxisAlignedBB. Or if you need multiple boxes use addCollisionBoxToList(IBlockState, World, BlockPos, AxisAlignedBB, List<AxisAlignedBB>, @Nullable Entity, boolean) and add all of your collision boxes to that list with the other addCollisionBoxToList method within your Block class. VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect. Forge and vanilla BlockState generator.
October 4, 20186 yr Just now, Ragnar said: and how AxisAlignedBB works You'll use xStart, yStart, zStart, xEnd, yEnd, zEnd. 1 "pixel" is 1/16 and 2 "pixels" is 2/16 VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect. Forge and vanilla BlockState generator.
October 4, 20186 yr Author 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?
October 4, 20186 yr 3 minutes ago, Ragnar said: Should not this work? 14 minutes ago, Animefan8888 said: 1 "pixel" is 1/16 and 2 "pixels" is 2/16 VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect. Forge and vanilla BlockState generator.
October 4, 20186 yr 1 minute ago, Ragnar said: 0.0625D This is correct. VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect. Forge and vanilla BlockState generator.
October 4, 20186 yr Author 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
October 4, 20186 yr 2 hours ago, Ragnar said: 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 A pixel is 1/16 so 0.0625. That AxisAlignedBoundingBox goes from (in “pixels”) 1,1,1 to 15,2,15. Is this what you want? Are you correctly overriding the method? Use print statements & the debugger to see if it’s getting called and what’s happening. You want to override getBoundingBox, getSelectedBoundingBox and getCollisionBoundingBox Edited October 4, 20186 yr by Cadiboo About Me Spoiler My Discord - Cadiboo#8887 My Website - Cadiboo.github.io My Mods - Cadiboo.github.io/projects My Tutorials - Cadiboo.github.io/tutorials Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support. When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible. Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)
October 4, 20186 yr Author 7 minutes ago, Cadiboo said: That goes from (in “pixels”) 1,1,1 to 15,2,15. Is this what you want? this is exactly what I want, now how would the method be in list because I go for more?
October 4, 20186 yr Just now, Ragnar said: this is exactly what I want, now how would the method be in list because I go for more? Can you please clarify? About Me Spoiler My Discord - Cadiboo#8887 My Website - Cadiboo.github.io My Mods - Cadiboo.github.io/projects My Tutorials - Cadiboo.github.io/tutorials Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support. When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible. Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)
October 4, 20186 yr Author 3 minutes ago, Cadiboo said: Can you please clarify? How addCollisionBoxToList is.
October 4, 20186 yr 1 hour ago, Ragnar said: How addCollisionBoxToList is. addCollisionBoxToList allows you to add multiple boxes (think of fences, they have a box for the pillar, and a box for each connection) that an entity can collide with. This method exists because AxisAlignedBoundingBoxes have to be cuboids. To have different shapes you can group together cuboids (in a List) to create a more complex shape that can be collided with - any shape can be made with cuboids if you use enough of them. About Me Spoiler My Discord - Cadiboo#8887 My Website - Cadiboo.github.io My Mods - Cadiboo.github.io/projects My Tutorials - Cadiboo.github.io/tutorials Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support. When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible. Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)
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.