Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

NullDev

Members
  • Content Count

    55
  • Joined

  • Last visited

Community Reputation

0 Neutral

About NullDev

  • Rank
    Stone Miner

Recent Profile Visitors

588 profile views
  1. Yes, there was. I forgot a few attributes, namely Attributes.MOVEMENT_SPEED and Attributes.HORSE_JUMP_STRENGTH. Thank you for you help!
  2. I have this in my EntityRegisterEvents class: @SubscribeEvent public static void registerEntityAttributes(EntityAttributeCreationEvent e) { e.put(HAY_HORSE, AttributeModifierMap.createMutableAttribute().createMutableAttribute(Attributes.MAX_HEALTH, 25) .createMutableAttribute(Attributes.FOLLOW_RANGE, 16.0) .createMutableAttribute(Attributes.ARMOR) .create()); } https://github.com/AyliasTheCoder/BlocksRealsBlockCreatures/blob/master/src/main/java/me/aylias/minecraft/mods/modbase/events/EntityRegisterEvents.java Is something missing from it?
  3. I have done that, and stepped through it, but I cannot figure out how to understand most of what it says. I updated the github w/ the MDK's .gitignore. https://github.com/AyliasTheCoder/BlocksRealsBlockCreatures
  4. I ran it in debug mode in intellij but the console still says nothing but "An unexpected error occurred trying to execute that command"
  5. I created an entity, and when I try to summon it I just get "An unexpected error occurred trying to execute that command" with no stack trace or anything. Why is this happening? My code: https://github.com/AyliasTheCoder/BlocksRealsBlockCreatures The Entity Class Itself: https://github.com/AyliasTheCoder/BlocksRealsBlockCreatures/blob/master/src/main/java/me/aylias/minecraft/mods/modbase/entities/HayHorse.java
  6. I am trying to update my mappings, but the MCPBot Exports is only up to 1.15, so how do I update my mappings? Using the official Mojang mappings is a pain, because everything is named differently so my whole mod breaks. My current build.gradle: buildscript { repositories { maven { url = 'https://files.minecraftforge.net/maven' } jcenter() mavenCentral() } dependencies { classpath group: 'net.minecraftforge.gradle', name: 'ForgeGradle', version: '3.+', changing: true } } apply plugin: 'net.minecraftforge.gradle' // Only edit below this li
  7. Starting Gradle Daemon... Gradle Daemon started in 3 s 327 ms > Configure project : Java: 1.8.0_241 JVM: 25.241-b07(Oracle Corporation) Arch: amd64 New Dep: net.minecraftforge:forge:1.16.5-36.1.6_mapped_snapshot_20210421-1.15.1 Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0. Use '--warning-mode all' to show the individual deprecation warnings. See https://docs.gradle.org/4.10.3/userguide/command_line_interface.html#sec:command_line_warnings BUILD SUCCESSFUL in 20s C:\Users\burnh\OneDrive\Desktop\Cardons Stuffs\Mods\BlocksReal's Block Creatures\
  8. There is no actual crash log. Minecraft cannot even launch from IntelliJ, this just happens every time I try to runClient.
  9. buildscript { repositories { maven { url = 'https://files.minecraftforge.net/maven' } jcenter() mavenCentral() } dependencies { classpath group: 'net.minecraftforge.gradle', name: 'ForgeGradle', version: '3.+', changing: true } } apply plugin: 'net.minecraftforge.gradle' // Only edit below this line, the above code adds and enables the necessary things for Forge to be setup. apply plugin: 'eclipse' apply plugin: 'maven-publish' version = '1.0' group = 'com.yourname.modid' // http://maven.apache.org/guides/mini/guide-naming-conventions.html archi
  10. I have done that, but I still cannot find a "EntityAttributeCreationEvent" event class or method anywhere when using intellij's search feature. Also when I try to run, I now get an error: BlocksReal's Block Creatures\build\tmp\expandedArchives\forge-1.16.5-36.1.6_mapped_snapshot_20210421-1.15.1-sources.jar_a6143e0dca70b177e5cb22179a0cd7b2\net\minecraft\entity\EntityClassification.java:40: error: method getName() is already defined in enum EntityClassification public String getName() {
  11. I cannot find that event anywhere. Is it in the entity itself, or is it a SubscribeEvent event?
  12. I have created a new Horse Entity, and I am trying to spawn it in, with the /summon command, but it is failing saying that it is null. The error: [08:56:26] [Server thread/WARN] [minecraft/EntityType]: Exception loading entity: java.lang.NullPointerException: null at net.minecraft.entity.ai.attributes.AttributeModifierManager.func_233795_c_(AttributeModifierManager.java:67) ~[forge-1.16.4-35.1.37_mapped_snapshot_20200514-1.16-recomp.jar:?] {re:classloading} at net.minecraft.entity.LivingEntity.func_233637_b_(LivingEntity.java:1849) ~[forge-1.16.4-35.1.37_mapped_snapshot_20200514-1.
  13. I am making a block that when right clicked, I wanted to flip the players gravity so they fall upwards, and I also want the camera to properly adjust so that everything looks upside down, how would I begin going about this?
  14. Is is possible to add recipes through code in 1.16? I have a lot of recipes to add, that are all very similar, and it would be very tedious to do that with json, so is it possible to register recipes through code in 1.16? I know it used to be possible, but I can't find anything on doing it in 1.16
  15. So I have created a custom tnt entity, but when it renders, it looks like stone that flashes like tnt does, even though it has a different blockstate (and I have checked and it does in fact have the correct one) The rendering occurs here: https://github.com/AyliasTheCoder/ScatterTNT/blob/main/src/main/java/com/aylias/minecraft/mods/scattertnt/client/ScatterTNTRenderer.java it prints out that it is using the blockstate of "scatter_tnt:small_stone_tnt" and that block has a texture, but the lit tnt has the texture of stone.
×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.