• 0

    posted a message on Minor Combat Tweaks

    Although I see potential in the tweaks made in the Combat Update, I feel like they're still rough and need more fleshing out. I'm not entirely certain how Mojang wants to go about this, but I can think of a few ways to tweak the existing combat system to make it more usable.


    1. Lower the cooldown slightly for swords. Now, I'm not asking for it to be lowered too much, to the point where sword spam is a viable tactic again, just to the point where you can attack at a similar rate to pre-1.9 combat. The cooldown period would mean that you can't sword spam as before, but you can still rush in with a diamond sword and kill most overworld hostile mobs in 3 slashes or less. Speaking of slashes,


    2. Buff the sweep attack and make it toggle-able. One of the biggest problems with 1.9 combat is dealing with groups of mobs up close. To mitigate this issue, Mojang added a sweep attack that would deal a small amount of damage to surrounding mobs and knock them back. Despite this, it's still easy to be overwhelmed by several mobs, especially if they're not clumped together in a group. A solution to this would be to buff the sweep attack, maybe by making it deal more damage. There are probably better ways to buff it, though, but I'm not entirely certain of what they would be and how they would make sense in the game. The next part of the suggestion is a way to toggle whether or not you want to use the sweep attack. Many people have complained about accidentally hitting their pets with the sweep attack while fighting mobs. A good way to tweak this might be to make it so that you have to be sneaking in order to use the sweep attack. Better yet, maybe a toggle should be added to prevent the sweep attack from hitting pets.


    3. Tweak invulnerability frames to be the attack speed of the weapon divided by 2 or 3. I'll admit that this system was stolen from inspired by a popular 2D combat/exploration-based game with a pixel aesthetic involving blocks, but Minecraft has stolen ideas from been inspired by many other games before, so this wouldn't be too much of a stretch. It would also allow for tools/weapons with a lower cool-down, like pickaxes and hoes, to become more viable for combat.


    That wraps up my suggestion for some minor combat tweaks that I feel wouldn't drastically change the game's spirit but still improve the game overall. Feel free to leave feedback, including constructive criticisms, if you'd like, and please let me know if I screwed anything up on here, as I think this is my first suggestion post to this forum.

    Posted in: Suggestions
  • 0

    posted a message on Detecting Blocks in a Player's Inventory

    Thanks, I'll do that tomorrow

    Posted in: Modification Development
  • 0

    posted a message on Detecting Blocks in a Player's Inventory

    I can't get this to work with blocks for some reason

    Posted in: Modification Development
  • 0

    posted a message on Detecting Blocks in a Player's Inventory

    Is there a way to detect block metadata as well?

    Posted in: Modification Development
  • 0

    posted a message on Detecting Blocks in a Player's Inventory

    Thanks

    Posted in: Modification Development
  • 0

    posted a message on Detecting Blocks in a Player's Inventory

    Actually, could you please go into detail on what I need to do once I've created the class?

    Posted in: Modification Development
  • 0

    posted a message on Detecting Blocks in a Player's Inventory

    Thanks for the quick reply; I'll try that and see if it works

    Posted in: Modification Development
  • 0

    posted a message on Detecting Blocks in a Player's Inventory

    How would one detect whether a player has a block in their inventory? I'm aware of hasItem, but that's just for items, it seems. On that subject, how can you use blocks in place of items?

    Posted in: Modification Development
  • 0

    posted a message on [1.7.2] Forge | Add new Block, Item, Entity, AI, Creative tab, Language localization, Block textures, Side textures

    I was working on a custom mob, but I got one of those pesky NullPointerExceptions, like Z3to did earlier. I would like some assistance, please. I was using multiple tutorials at once, so I may not have cleaned up all of the spare code. Here is the code:

    ---- Minecraft Crash Report ----
    // Who set us up the TNT?

    Time: 9/9/15 7:26 AM
    Description: Initializing game

    java.lang.NullPointerException: Initializing game
    at cpw.mods.fml.common.registry.EntityRegistry.doModEntityRegistration(EntityRegistry.java:171)
    at cpw.mods.fml.common.registry.EntityRegistry.registerModEntity(EntityRegistry.java:150)
    at com.randommcsomethin.amod.AMod.registerEntity(AMod.java:75)
    at com.randommcsomethin.amod.AMod.preInit(AMod.java:159)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:497)
    at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:532)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:497)
    at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
    at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
    at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
    at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
    at com.google.common.eventbus.EventBus.post(EventBus.java:275)
    at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:212)
    at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:190)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:497)
    at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
    at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
    at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
    at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
    at com.google.common.eventbus.EventBus.post(EventBus.java:275)
    at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:119)
    at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:556)
    at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:243)
    at net.minecraft.client.Minecraft.startGame(Minecraft.java:522)
    at net.minecraft.client.Minecraft.run(Minecraft.java:942)
    at net.minecraft.client.main.Main.main(Main.java:164)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:497)
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
    at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source)
    at GradleStart.main(Unknown Source)


    A detailed walkthrough of the error, its code path and all known details is as follows:
    ---------------------------------------------------------------------------------------

    -- Head --
    Stacktrace:
    at cpw.mods.fml.common.registry.EntityRegistry.doModEntityRegistration(EntityRegistry.java:171)
    at cpw.mods.fml.common.registry.EntityRegistry.registerModEntity(EntityRegistry.java:150)
    at com.randommcsomethin.amod.AMod.registerEntity(AMod.java:75)
    at com.randommcsomethin.amod.AMod.preInit(AMod.java:159)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:497)
    at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:532)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:497)
    at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
    at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
    at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
    at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
    at com.google.common.eventbus.EventBus.post(EventBus.java:275)
    at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:212)
    at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:190)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:497)
    at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
    at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
    at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
    at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
    at com.google.common.eventbus.EventBus.post(EventBus.java:275)
    at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:119)
    at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:556)
    at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:243)
    at net.minecraft.client.Minecraft.startGame(Minecraft.java:522)

    -- Initialization --
    Details:
    Stacktrace:
    at net.minecraft.client.Minecraft.run(Minecraft.java:942)
    at net.minecraft.client.main.Main.main(Main.java:164)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:497)
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
    at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source)
    at GradleStart.main(Unknown Source)

    -- System Details --
    Details:
    Minecraft Version: 1.7.10
    Operating System: Windows 8.1 (amd64) version 6.3
    Java Version: 1.8.0_60, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 591390400 bytes (563 MB) / 1037959168 bytes (989 MB) up to 1037959168 bytes (989 MB)
    JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
    AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
    IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
    FML: MCP v9.05 FML v7.10.99.99 Minecraft Forge 10.13.4.1492 4 mods loaded, 4 mods active
    States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
    UCH mcp{9.05} [Minecraft Coder Pack] (minecraft.jar)
    UCH FML{7.10.99.99} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.4.1492-1.7.10.jar)
    UCH Forge{10.13.4.1492} [Minecraft Forge] (forgeSrc-1.7.10-10.13.4.1492-1.7.10.jar)
    UCE amod{0.1} [Plants That Drop Stuff] (bin)
    GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.5.0 NVIDIA 355.60' Renderer: 'GeForce GTX 750/PCIe/SSE2'
    Launched Version: 1.7.10
    LWJGL: 2.9.1
    OpenGL: GeForce GTX 750/PCIe/SSE2 GL version 4.5.0 NVIDIA 355.60, NVIDIA Corporation
    GL Caps: Using GL 1.3 multitexturing.
    Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
    Anisotropic filtering is supported and maximum anisotropy is 16.
    Shaders are available because OpenGL 2.1 is supported.

    Is Modded: Definitely; Client brand changed to 'fml,forge'
    Type: Client (map_client.txt)
    Resource Packs: []
    Current Language: English (US)
    Profiler Position: N/A (disabled)
    Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
    Anisotropic Filtering: Off (1)


    Posted in: Mapping and Modding Tutorials
  • 0

    posted a message on Adding Lore Text to Custom Items

    Oh, one more question: is there some special formatting that needs to be used in the string, or can you just type a string that you want to use as the lore?

    Posted in: Modification Development
  • 0

    posted a message on Ban the user above you #2

    Banned for running from ender titans


    They just want hugs T_T

    Posted in: Forum Games
  • 0

    posted a message on Ban the user above you #2

    Banned for standing at my door

    Posted in: Forum Games
  • 0

    posted a message on Ban the user above you #2

    Banned for blowing up direwolf20 and stealing my diamonds

    Posted in: Forum Games
  • 0

    posted a message on The above user's location is your new home.

    I don't have to move to another place; I'm at home

    Posted in: Forum Games
  • 0

    posted a message on The above avatar tries to eat you...

    From looking at earlier posts, I have learned that you are a waffle; I wonder what toasted waffles taste like... >:)

    Posted in: Forum Games
  • To post a comment, please .