Jump to content
  • Home
  • Files
  • Docs
Status Updates
  • All Content

  • Advanced Search
  • Existing user? Sign In  

    Sign In



    • Not recommended on shared computers


    • Forgot your password?

  • Sign Up
  • All Activity
  • Home
  • Leviathan143

Leviathan143

Forge Modder
 View Profile  See their activity
  • Content Count

    211
  • Joined

    February 17, 2016
  • Last visited

    April 29, 2018
  • Days Won

    1

Leviathan143 last won the day on May 6 2017

Leviathan143 had the most liked content!

Community Reputation

40 Excellent

1 Follower

  • Absithium_gamer

About Leviathan143

  • Rank
    Creeper Killer

Converted

  • Gender
    Undisclosed

Recent Profile Visitors

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

  1. Leviathan143

    [1.12] How to create a new crafting table using custom recipe JSONs

    Leviathan143 replied to Mimic216's topic in Modder Support

    Yes. If you are fluent in Java or another similar language, post more specifics, actual code you're using would be good. Otherwise, you're being too ambitious and you should try something simpler. This task is not suitable for someone new to Java.
    • March 1, 2018
    • 1 reply
  2. Leviathan143

    [1.12.2] [Solved] Packet Messages and static fields

    Leviathan143 replied to GooberGunter's topic in Modder Support

    It doesn't need to. The logical server is part of the physical server process. The same goes for the client, the logical client is part of the physical client process. You seem confused about sides, I recommend you read this, even if you've read it already. It gives a pretty thorough explanation of logical and physical sides.
    • January 20, 2018
    • 8 replies
      • 1
      • Like
  3. Leviathan143

    [1.12.2] [Solved] Packet Messages and static fields

    Leviathan143 replied to GooberGunter's topic in Modder Support

    Can you rephrase that please? It's not clear what you're asking.
    • January 20, 2018
    • 8 replies
  4. Leviathan143

    [1.12.2] [Solved] Packet Messages and static fields

    Leviathan143 replied to GooberGunter's topic in Modder Support

    The effects of the static modifier are restricted to a single JVM. The server and each client all run separate instances of Minecraft in separate JVMs. There is no synchronisation of instances or member values between separate JVMs by default. If any exists it is because it has been explicitly and deliberately programmed by Mojang, Forge or you. Neither Mojang or Forge autosynchronise static member values. Separate JVMs do not talk to each other at all, in any way, ever, unless explicitly and deliberately told to do so and how to do so.
    • January 20, 2018
    • 8 replies
      • 1
      • Like
  5. Leviathan143

    Switch statement with World#getBlockState() to compare blocks not working (Constant Expression Required)

    Leviathan143 replied to MSpace-Dev's topic in Modder Support

    Why? It looks like you're trying to add a right-click action to your block. That is not the way to do it.
    • December 17, 2017
    • 5 replies
  6. Leviathan143

    Switch statement with World#getBlockState() to compare blocks not working (Constant Expression Required)

    Leviathan143 replied to MSpace-Dev's topic in Modder Support

    switch statements only work on primitive types, Strings, enums & the wrapper objects for primitive types(These are special cased). Since Block does not fall into any of those categories, you can't switch on a field/method return of type Block. What are you actually trying to do here? Blocks have a method that is called when they are right-clicked.
    • December 17, 2017
    • 5 replies
  7. Leviathan143

    Need advice about ASM or creating forge pull request

    Leviathan143 replied to Tmtravlr's topic in Modder Support

    @Tmtravlr Your first issue sounds like it could be addressed by a PR I'm working on, MinecraftForge#4443. I'd appreciate it if you would give some input on it.
    • November 7, 2017
    • 6 replies
  8. Leviathan143

    [1.12.2] Run Configurations When Trying To Test Contribution To Forge

    Leviathan143 replied to jabelar's topic in Modder Support

    *Some of the test mods have a constant which is false by default. Unless this constant is changed to true, they still load but do absolutely nothing. I recommend you do this with your test mod, as it makes things cleaner, makes load times shorter and reduces the likelihood of test mods interfering with each other.
    • October 8, 2017
    • 3 replies
      • 1
      • Like
  9. Leviathan143

    NEED HELP

    Leviathan143 replied to Absithium_gamer's topic in Modder Support

    The qualified names you're giving as the proxy locations don't match the qualified names of the proxy classes. For example, you tell Forge your client proxy is com.absithiumgamer.learningmod.proxy.ClientProxy, but it is really Com.absithiumgamer.learningmod.proxy.ClientProxy. On another note, your package names do not follow java convention. Java naming conventions say that package names should be lowercase, you start your package names with an uppercase letter. Your class names are fine, they are PascalCase, as they should be.
    • October 2, 2017
    • 5 replies
  10. Absithium_gamer started following Leviathan143 October 2, 2017
  11. Leviathan143

    NEED HELP

    Leviathan143 replied to Absithium_gamer's topic in Modder Support

    Two things. One, "NEED HELP" is a terrible thread title. It tells me nothing about your problem, you wouldn't be posting here if you didn't need help. A thread title should give some idea of the problem. Two, you have not supplied the relevant code, making it less likely that someone can help you. As for your problem, it looks like your proxy isn't where you've told Forge it is.
    • October 2, 2017
    • 5 replies
      • 1
      • Like
  12. Leviathan143

    Custom EntityProperty for Loot_Tables not working.

    Leviathan143 replied to Thretcha's topic in Modder Support

    Your property won't work because the fish hook doesn't include the looted entity in the LootContext it uses to generate fishing loot. It doesn't include the player either, so you can't check the biome of either entity. I'm working on a Forge PR to include the player, looted entity, damage source & player luck in all the loot contexts that they are applicable to and available to. There are also two other issues with your property. Firstly, a separate property for every class is completely unnecessary, you have complete control over the serialisation and deserialisation of your property. If you need info for your property, just figure out how to express it in string form, then you can specify it in the .json and deserialise it into whatever format you need. Secondly, you shouldn't be using the minecraft domain as your property is not part of vanilla Minecraft. Use your mod's mod ID as the domain.
    • October 2, 2017
    • 2 replies
  13. Leviathan143

    Detect another mod's entity

    Leviathan143 replied to Insane96MCP's topic in Modder Support

    Your pseudocode is on the right track. To get the string id of the entity, you can pass it into EntityList.getEntityString(). You should also be using Object#equals() to check string equality, rather than ==. == checks identity, it returns true if the two objects are the same object, i.e they are located at the same memory address. Object#equals() returns true if the two objects can be considered equivalent, the definition of equivalence depends on the object. For a String, two Strings are equal if they have the same characters at the same positions.
    • September 23, 2017
    • 10 replies
  14. Leviathan143

    [1.10] [SOLVED] Using TagLists to store Arrays over just adding individual array parts with a loop.

    Leviathan143 replied to oldcheese's topic in Modder Support

    Your question is analogous to asking 'Is there any benefit to using java.util.List over using java.util.Map for indexed data storage?` as NBTTagCompound and NBTTagList are internally backed by a Map and a List respectively. The answer to the question is yes. java.util.List is designed for indexed data storage, java.util.Map is not. Consequently, using java.util.Map for indexed data storage is a terrible idea as it was not designed with that purpose in mind. If you have a problem, use a class that is meant to solve that problem rather than abusing another to do the job. The latter may be functional, but the former is both functional and more efficient. So please use NBTTagList, not NBTTagCompound for your purpose.
    • September 17, 2017
    • 15 replies
      • 1
      • Like
  15. Leviathan143

    Playing a sound event when player is in range of an entity

    Leviathan143 replied to Plgue's topic in Modder Support

    It's not working because you are passing chunk coordinates into a method that takes world coordinates. You want Entity#posX, Entity#posY & Entity#posZ.
    • August 19, 2017
    • 27 replies
  16. Leviathan143

    Getting hundreds of missing class errors from forge

    Leviathan143 replied to Silly511's topic in Modder Support

    Silly511 is setting up a Forge development workspace in order to submit a PR to Forge, not a Forge mod development workspace. The setup process for the former is quite different from the latter.
    • August 13, 2017
    • 4 replies
  • All Activity
  • Home
  • Leviathan143
  • Theme

Copyright © 2019 ForgeDevelopment LLC · Ads by Longitude Ads LLC Powered by Invision Community