Jump to content

Zeher_Monkey

Members
  • Posts

    159
  • Joined

  • Last visited

  • Days Won

    1

Zeher_Monkey last won the day on April 20 2018

Zeher_Monkey had the most liked content!

Converted

  • Gender
    Male
  • Location
    London

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Zeher_Monkey's Achievements

Creeper Killer

Creeper Killer (4/8)

3

Reputation

  1. Okay thanks, I need to wrap my head around this new system. Do I use this for *literally* everything? MenuTypes, BlockEntityTypes etc?
  2. Hi, I have begun to port my mod from 1.18.1 to 1.18.2 and my custom JSON recipe system is stopping me from loading the game up at the moment. Everything worked in 1.18.1, but I know that the minor version change actually had major changes behind the scenes, so Im wondering if anyone knows what my issue is. CraftingManager.java I am assuming that Mojang has locked the vanilla Recipe Type system, but I cannot seem to find an alternative. Crash Report (Snippet): Ive been out of the scene for a few months, so am not in the loop with major changes, so go easy Thanks in advance
  3. Hi all, I have been bashing my head against the wall for hours trying to get ore generation working in my mod. I have tried to follow a few tutorials with little success. Forge: 39.0.5 ForgeBusSubscriber: Mod Class: I have had no luck in getting anything to spawn, despite checking that the biomeloading events features do contain my placed feature. Any help as always is appreciated.
  4. So I have a block that has a good few blockstates. I am trying to be efficient with the JSON so I can save a lot of unnecessary code. Here is my dilema: I have 2 properties, "type" and "mode". If "mode" = 0 and "type" = 0, I want to apply a model, however if "mode" = 1 I want to apply something to all models, but not if "type" = 0. So if "mode" = 1 and "type" = 1, 2 or 3, apply a model, but not if "type" = 0. Here is my current BlockState .json file. { "forge_marker": 1, "multipart": [ { "apply": { "model": "dimensionalpocketsii:block/module/connector/base" } }, { "when": { "AND": [ { "mode": "0", "type": "0" } ] }, "apply": { "model": "dimensionalpocketsii:block/module/connector/screen" } }, { "when": { "AND": [ { "mode": "1", "type": "0" } ] }, "apply": { "model": "dimensionalpocketsii:block/module/connector/screen" } }, { "when": { "AND": [ { "mode": "2", "type": "0" } ] }, "apply": { "model": "dimensionalpocketsii:block/module/connector/screen" } }, { "when": { "AND": [ { "mode": "3", "type": "0" } ] }, "apply": { "model": "dimensionalpocketsii:block/module/connector/screen" } }, { "when": { "mode": "0" }, "apply": { "model": "dimensionalpocketsii:block/module/connector/base_mode" } }, { "when": { "mode": "1" }, "apply": { "model": "dimensionalpocketsii:block/module/connector/base_mode" } }, { "when": { "mode": "2" }, "apply": { "model": "dimensionalpocketsii:block/module/connector/base_mode" } }, { "when": { "mode": "3" }, "apply": { "model": "dimensionalpocketsii:block/module/connector/base_mode" } } ] } I have looked around for info on this particular method of doing multiparts and have had little luck. Any help is appreciated!
  5. .minecraft/logs/debug.log To find .minecraft: Windows key + R -> %appdata% -> roaming -> .minecraft
  6. Okay thank you. I'm now using the path ie "overworld" or "the_nether" and I'm replacing _ with a space and capitalising the first letter of every word.
  7. Im am rendering labels in the world, but the background cuts out part of my block behind it. I have tried tinkering with the variables in the FontRenderer.renderInBatch(); Method, but nothing seems to be working. Image of my problem: My Code: Any help is appreciated!
  8. Hi all, I'm trying to find a localized name for a Dimension. I know that with the registry system, resource locations are used, for example: minecraft:overworld But is there a localized (player friendly) name somewhere?
  9. I have managed to get it working in survival. It's still behaving oddly, but it does work now. Thanks for the help!
  10. I'm using vanilla code to create the Portal Blocks, so when the player is trying to enter the Portal it could be calling the code multiple times, but it works in Creative mode and when travelling across dimensions. Just not the same dimension in survival mode. Here is where I pass the method to my TileEntity: BlockPortal:
  11. I have tried this: playerIn.connection.teleport(targetPos.getX(), targetPos.getY(), targetPos.getZ(), yaw, pitch); And I am still getting the same error: [12:42:47] [Server thread/WARN] [minecraft/ServerPlayNetHandler]: TheCosmicNebula_ moved wrongly!
  12. Here is where I call the teleport: TileEntityPortal Here is my ITeleporter: CosmosTeleportCore As you can see, I have tried many variations on ServerPlayerEntity.teleport() And I cannot just pull the ServerPlayerEntity.changeDimension() method because it uses variables that are private.
  13. I have tried in vain to teleport a player within the same Dimension when they collide with a block with no collision. In creative mode, it works flawlessly, but in singleplayer I keep getting this error: [01:50:38] [Server thread/WARN] [minecraft/ServerPlayNetHandler]: TheCosmicNebula_ moved wrongly! I have tried many methods, from many classes that teleport. I can use ServerPlayerEntity.changeDimension() However it causes massive lag because it is repeating the same code with all of the blocks. Any help would be appreciated, i'm pulling my hair out!
×
×
  • Create New...

Important Information

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