Jump to content
  • Home
  • Files
  • Docs
  • Merch
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
  • Tim Graupmann

Tim Graupmann

Members
 View Profile  See their activity
  • Content Count

    24
  • Joined

    August 18
  • Last visited

    September 20

Community Reputation

0 Neutral

About Tim Graupmann

  • Rank
    Tree Puncher

Recent Profile Visitors

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

  1. Tim Graupmann

    EventBus Weather and Minecart Events

    Tim Graupmann replied to Tim Graupmann's topic in Modder Support

    Biome biome = event.world.getBiome(mPlayerState.mPosition); logMessage("biome: "+biome+ " tenp "+biome.getTemperature(mPlayerState.mPosition)); Checking the biome temp reports around 0.14 but I get the same low temps for rain and snow areas. I'd figure snow would be at temps 32F/0C or below. I might use the condition if the player is on snow covered block or snow tile at the player position. boolean isRaining = false; boolean isSnowing = false; if (event.world.isRainingAt(mPlayerState.mPosition)) { BlockState blockState = event.world.getBlockState(mPlayerState.mPosition); if (blockState.getBlock() == Blocks.SNOW || blockState.getBlock() == Blocks.SNOW_BLOCK) { isSnowing = true; } else { Biome biome = event.world.getBiome(mPlayerState.mPosition); switch (biome.getPrecipitation()) { case RAIN: isRaining = true; break; case SNOW: isSnowing = true; break; } } } This works well enough...
    • September 18
    • 9 replies
  2. Tim Graupmann

    EventBus Weather and Minecart Events

    Tim Graupmann replied to Tim Graupmann's topic in Modder Support

    When I'm checking `isRainingAt` I'm seeing it return true for both SNOW and RAIN.
    • September 18
    • 9 replies
  3. Tim Graupmann

    EventBus Weather and Minecart Events

    Tim Graupmann replied to Tim Graupmann's topic in Modder Support

    Minecart and detecting rain works. I can detect RAIN, I haven't seen SNOW reported yet. Even when I'm standing in snow or flying through it getPrecipitation reports RAIN. boolean isRaining = false; boolean isSnowing = false; if (event.world.isRainingAt(mPlayerState.mPosition)) { Biome biome = event.world.getBiome(mPlayerState.mPosition); switch (biome.getPrecipitation()) { case RAIN: isRaining = true; break; case SNOW: isSnowing = true; break; } }
    • September 18
    • 9 replies
  4. Tim Graupmann

    EventBus Weather and Minecart Events

    Tim Graupmann posted a topic in Modder Support

    Is there a weather event for rain and snow? I searched the source and I found Biomes with snow, but I don't think that's the same thing. I found there's a player.isOnLadder(), is there something for isInMinecart? https://github.com/tgraupmann/MinecraftChromaMod/blob/master/src/main/java/com/example/examplemod/MyForgeEventHandler.java Thanks!
    • September 16
    • 9 replies
  5. Tim Graupmann

    MinecraftForge Chroma Mod [move to mods]

    Tim Graupmann replied to LoganJohnG's topic in Modder Support

    I can't actually move the thread. Can a moderator move it? I renamed the topic...
    • September 12
    • 47 replies
  6. Tim Graupmann

    MinecraftForge Chroma Mod [move to mods]

    Tim Graupmann replied to LoganJohnG's topic in Modder Support

    I found a workaround by embedding the SVG content on the HTML page. Okay now I can make some better video.
    • September 11
    • 47 replies
  7. Tim Graupmann

    MinecraftForge Chroma Mod [move to mods]

    Tim Graupmann replied to LoganJohnG's topic in Modder Support

    I integrated some scalable SVG widgets that I can show on top of the video. I have to work out some SVG content document issues on the streaming platforms before I can use it on a live stream. ugh... https://github.com/tgraupmann/Mixer-Sample-SVG
    • September 10
    • 47 replies
  8. Tim Graupmann

    MinecraftForge Chroma Mod [move to mods]

    Tim Graupmann replied to LoganJohnG's topic in Modder Support

    Thanks for the hints. I'm going to spend a day on those video Chroma widgets. It's hard to see on the side and I'll make it so they appear on top of the game so they can be bigger and easier to see the lighting patterns.
    • September 10
    • 47 replies
  9. Tim Graupmann

    MinecraftForge Chroma Mod [move to mods]

    Tim Graupmann replied to LoganJohnG's topic in Modder Support

    Here's a video where you can see it working. Source code: https://github.com/tgraupmann/MinecraftChromaMod/blob/master/src/main/java/com/example/examplemod/MyForgeEventHandler.java I'll add more Chroma effects for the various events as I figure things out... Things to figure out: * Attack with a sword * Place a block * Ride in a cart * Crafting * Destroy a block * Climb a ladder * Get hurt by a creeper * Kill a pig * Drink a potion * Stand near a chicken * Walk through a portal * Place a fish * Swim through bubbles * Weather snow * Weather rain
    • September 9
    • 47 replies
  10. Tim Graupmann

    MinecraftForge Chroma Mod [move to mods]

    Tim Graupmann replied to LoganJohnG's topic in Modder Support

    And it's working with the upgraded Chroma library. First there's a C++ DLL and I have a tool that parses the C++ header to get all the nice helper functions and comments. https://github.com/tgraupmann/ChromaAPISync/blob/master/bin/Debug/stdafx.h And then the DLL interface library is generated. https://github.com/tgraupmann/ChromaAPISync/blob/master/bin/Debug/JChromaLib.java And then the wrapper Java is generated. https://github.com/tgraupmann/ChromaAPISync/blob/master/bin/Debug/JChromaSDK.java This gets copied over to the Java Chroma library. https://github.com/tgraupmann/JChroma And then it's ready for the Minecraft mod. https://github.com/tgraupmann/MinecraftChromaMod/blob/master/src/main/java/com/example/examplemod/MyForgeEventHandler.java This exposes the nice API from the guide to Java. http://chroma.razer.com/ChromaGuide/
    • September 9
    • 47 replies
  11. Tim Graupmann

    MinecraftForge Chroma Mod [move to mods]

    Tim Graupmann replied to LoganJohnG's topic in Modder Support

    I have Chroma effects playing with some temporary API calls from JChroma. https://github.com/tgraupmann/JChroma I need to expose the C++ API to JAVA. https://github.com/razerofficial/CChromaEditor I just need to expose the basics like setting the idle animation, playing an animation with/without looping, and copy/add/subtract layers.
    • September 4
    • 47 replies
  12. Tim Graupmann

    MinecraftForge Chroma Mod [move to mods]

    Tim Graupmann replied to LoganJohnG's topic in Modder Support

    gradlew runClient It runs!
    • September 3
    • 47 replies
  13. Tim Graupmann

    MinecraftForge Chroma Mod [move to mods]

    Tim Graupmann replied to LoganJohnG's topic in Modder Support

    Okay it seems like the Minecraft Forge has trouble building with Oracle's JAVA. C:\Users\timot\Downloads\forge-1.12.2-14.23.5.2844-mdk>gradlew.bat setupDecompWorkspace To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/2.14/userguide/gradle_daemon.html. This mapping 'snapshot_20171003' was designed for MC 1.12! Use at your own peril. ################################################# ForgeGradle 2.3-SNAPSHOT-7764e3e https://github.com/MinecraftForge/ForgeGradle ################################################# Powered by MCP http://modcoderpack.com by: Searge, ProfMobius, R4wk, ZeuX Fesh0r, IngisKahn, bspkrs, LexManos ################################################# :deobfCompileDummyTask :deobfProvidedDummyTask :getVersionJson :extractUserdev UP-TO-DATE :extractDependencyATs SKIPPED :extractMcpData SKIPPED :extractMcpMappings SKIPPED :genSrgs SKIPPED :downloadClient SKIPPED :downloadServer SKIPPED :splitServerJar SKIPPED :mergeJars SKIPPED :deobfMcSRG SKIPPED :decompileMc SKIPPED :fixMcSources :applySourcePatches Patching failed: cp/MethodsReturnNonnullByDefault.java Cannot find hunk target 1: Cannot find hunk target @ 0 1/1 failed :applySourcePatches FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':applySourcePatches'. > com.cloudbees.diff.PatchException: Cannot find hunk target * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. BUILD FAILED Total time: 32.666 secs I upgraded gradle to the latest 5.6.1. gradlew wrapper --gradle-version=5.6.1 gradlew -v I had those same build errors for the latest MCF stable version, so I went right for the latest. https://files.minecraftforge.net/maven/net/minecraftforge/forge/index_1.14.4.html gradlew eclipse This runs for a while...
    • September 3
    • 47 replies
  14. Tim Graupmann

    MinecraftForge Chroma Mod [move to mods]

    Tim Graupmann replied to LoganJohnG's topic in Modder Support

    Okay here's the first part. I checked into a public repository. https://github.com/tgraupmann/MinecraftChromaMod Currently it's just doing some print logging when events happen. I have another Chroma RGB to integrate once I have the events in place. I'll see about upgrading Minecraft Forge next... This is where the interesting code is. https://github.com/tgraupmann/MinecraftChromaMod/blob/master/src/main/java/com/example/examplemod/MyForgeEventHandler.java Grabbing the sample source and upgrading gradle, running the setup/etc. https://mcforge.readthedocs.io/en/latest/gettingstarted/
    • September 3
    • 47 replies
  15. Tim Graupmann

    MinecraftForge Chroma Mod [move to mods]

    Tim Graupmann replied to LoganJohnG's topic in Modder Support

    Ah Logan is my kid's computer that I used when doing homework with the kids. And yes, I'll put the mod on github when I'm done. That's the plan. I'll probably have my sandbox version here - https://github.com/tgraupmann And the official version here - https://github.com/RazerOfficial/
    • August 27
    • 47 replies
  • All Activity
  • Home
  • Tim Graupmann
  • Theme
  • Contact Us
  • Discord

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