Jump to content

fishsaucey

Members
  • Posts

    24
  • Joined

  • Last visited

Everything posted by fishsaucey

  1. Hi, I'm trying to create a custom structure, but first I was going to try to add an igloo copy. For some reason it is not generating though. Can someone help? Here is where I am registering it. Here is the biome class. Here are the igloo files. Thanks
  2. Hi, I've made a custom tree with custom logs but the leaves are despawning. How can I make the logs/stripped logs count as logs so leaves don't despawn? Here is my code. Thanks Edit: Nevermind, realized I needed to use tags.
  3. Hi, I'm trying to use an item to change the players dimension without creating a nether portal. Can I do this using "entity.changeDimension", or will I have to create a new function? I had a custom teleporter but I guess I cant use it anymore since changeDimension no longer takes a custom teleporter? Here is my code. Thanks EDIT: Nevermind, I figured it out using YAMDA's way of doing it.
  4. Hi, are there any good resources for creating dimensions in 1.14 / 1.13? I can't find anything with the new way of adding them. Thanks
  5. I dont really think that matters in my case, I just need to find how to extend the range
  6. 1: RayTraceResult raytraceresult = this.rayTrace(worldIn, playerIn, RayTraceContext.FluidMode.ANY); double posx = raytraceresult.getHitVec().x; double posy = raytraceresult.getHitVec().y; double posz = raytraceresult.getHitVec().z; System.out.println(posx); System.out.println(posy); System.out.println(posz); 2: In an onItemRightClick event
  7. Hi, I'm trying to get the coordinates of the block the player is looking at from a distance. I tried using rayTrace but that just returned coordinates from a couple of blocks in front of me. How can I do this? Thanks
  8. Was not aware of that, thanks.
  9. Hi, I made an entity, but it always has a nametag. I tried overriding getAlwaysRenderNameTagForRender and I tried setting setCustomNameVisible to false, but neither worked. Here is my code. Thanks
  10. My problem is actually with the getPowerOnSide and calculateInputStrength returning the blockstate of redstonewire. I need to add support for my custom block to this
  11. Hi, I have a custom redstone but because of the RedstoneDiodeBlock class specifically checking for redstone dust in a couple functions, my block doesn't provide power. How do I add support for my block to the RedstoneDiodeBlock?
  12. Hi, where is the code that sets/updates the color for redstone wire? I'm trying to create my own redstone but the color isn't changed just by using the default redstone wire class. Thanks
  13. Hi, I have a custom redstone wire that is basically just a copy of the RedstoneWireBlock class, yet it doesn't provide power unless it is "straightened" first. This should show what I mean: Anyways, how is this fixed? Thanks Code: https://github.com/FishSauceGaming/saucecraft/blob/master/Mod_development/src/main/java/sauce/saucecraft/blocks/BluestoneWireBlock.java
  14. Hi, I've tried to add a biome but it's not working. How do you do this in 1.14.2? Here is my code.
  15. Hi, I'm having some trouble figuring out how to register and set up loot tables for blocks in 1.14.2. I haven't seen any tutorials and the docs page isn't updated yet. How do I set this up?
  16. Hi, I'm trying to make an item that will teleport a player back to their bed using getBedLocation. My only problems are that the players spawn location is reset every time the player leaves the world & the spawn location is not updated after the bed is broken. How do I fix this?
  17. Hi, I'm new to modding Minecraft so please forgive me if I am being dumb. I'm trying to make an item that when it is right clicked it will teleport the user back to their respawn point. I have the spawn point part down (although the spawn point resets from bed when you exit the world & doesn't update when bed breaks), but I can't figure out how to teleport the player back to their spawn dimension. Thanks Edit: Was having issues with the custom teleporter. This helped me out.
×
×
  • Create New...

Important Information

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