Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 07/14/17 in all areas

  1. There is no net.minecraft.player package (or rather there's no classes in it to import), only net.minecraft.player.inventory.
    1 point
  2. No, World Capabilities are implemented as a wrapper around World Saved Data but are nicer to work with.
    1 point
  3. I'm not sure I have not moved on to 1.12 yet, it could be and if so... You can read up on Capabilities here.
    1 point
  4. Isn't WorldSavedData deprecated because of capabilities ?
    1 point
  5. If you do not know much Java then I suggest you learn before continuing, and if you do this could be really easy. You have to save the contents of your List to the Drive of your computer. Whether this is in a text file or an NBT file. You will want to use the WorldSavedData along with some events to read and write the data.
    1 point
  6. Essentially, yes. The "temp" int doesn't need to be a variable, you can just pass it directly to MathHelper.clamp.
    1 point
  7. ForgeRegistry#getEntries returns an immutable copy of the registry's entries, so you can't use it to modify the registry. As I said earlier in the thread, use IForgeRegistryModifiable#remove.
    1 point
  8. That looks mostly correct, but I highly recommend moving the synchronisation to MoralityScale itself (like I described in this post) so the code that uses it gets the synchronisation automatically. This avoids repeating the synchronisation code in every place you change the morality value and prevents inconsistencies between places that change the value, e.g. forgetting to send the packet or sending the wrong packet. Your addVirtue/addSin methods attempt to clamp the morality value between the maximum virtue and sin values but you only do this when the morality is already at the maximum, which means that any argument greater than or equal to 2 could push it over the maximum ((max - 1) + 2 = max + 1 ). I recommend using MathHelper.clamp(int, int, int) to clamp morality +/- points between the maximum virtue and sin values. Don't create a new Random each time you need a random number, create one instance and store it. You're still using hardcoded chat messages rather than specifying them in the lang files. You should only send chat messages on one side (usually the server) to avoid sending the message twice. I'm glad you've learned from this.
    1 point
  9. Hi everyone, I need event that tracking all dropped items\blocks HELP ME PLS
    1 point
  10. Please, download all mods from CURSE!!! https://minecraft.curseforge.com/ or from official sites of developers, this is site of chicken bones: http://chickenbones.net/Pages/links.html
    1 point
  11. Try to delete this mod: SpaceAdvanced
    1 point
  12. 1 point
  13. 1 point
  14. Hi everyone! I have a block with multi-texture, but if I launch MC and test my block, it doesn't have any texture. /assets/ishelper/models/block/waterjar.json { "parent": "block/cube_all", "textures": { "bottom": "ishelper:blocks/waterjar", "top": "ishelper:blocks/waterjar_top", "side": "ishelper:blocks/waterjar" } } This textures are exist, but MC don't see they. There are no any error in logs, only some WARNS: [17:26:28] [Client thread/WARN]: Unable to resolve texture due to upward reference: #all in minecraft:models/block/cube_all [17:26:28] [Client thread/WARN]: Unable to resolve texture due to upward reference: #all in minecraft:models/block/cube_all [17:26:28] [Client thread/WARN]: Unable to resolve texture due to upward reference: #all in minecraft:models/block/cube_all [17:26:28] [Client thread/WARN]: Unable to resolve texture due to upward reference: #all in minecraft:models/block/cube_all [17:26:28] [Client thread/WARN]: Unable to resolve texture due to upward reference: #all in minecraft:models/block/cube_all [17:26:28] [Client thread/WARN]: Unable to resolve texture due to upward reference: #all in minecraft:models/block/cube_all [17:26:28] [Client thread/WARN]: Unable to resolve texture due to upward reference: #all in minecraft:models/block/cube_all [17:26:30] [Client thread/WARN]: Unable to resolve texture due to upward reference: #all in minecraft:models/block/cube_all [17:26:30] [Client thread/WARN]: Unable to resolve texture due to upward reference: #all in minecraft:models/block/cube_all [17:26:30] [Client thread/WARN]: Unable to resolve texture due to upward reference: #all in minecraft:models/block/cube_all [17:26:30] [Client thread/WARN]: Unable to resolve texture due to upward reference: #all in minecraft:models/block/cube_all [17:26:30] [Client thread/WARN]: Unable to resolve texture due to upward reference: #all in minecraft:models/block/cube_all [17:26:30] [Client thread/WARN]: Unable to resolve texture due to upward reference: #all in minecraft:models/block/cube_all [17:26:30] [Client thread/WARN]: Unable to resolve texture due to upward reference: #all in minecraft:models/block/cube_all Help me pls!
    1 point
  15. Where I can see all available models?
    1 point
  16. But how to use multi-texture cube ?
    1 point
×
×
  • Create New...

Important Information

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