Everything posted by KillerRose83
-
Cannot invoke "net.minecraft.entity.ai.attributes.AttributeModifierMap.getValue(net.minecraft.entity.ai.attributes.Attribute)"
fixed my item registry
-
Cannot invoke "net.minecraft.entity.ai.attributes.AttributeModifierMap.getValue(net.minecraft.entity.ai.attributes.Attribute)"
This worked lol Thank You SO much!!
-
Cannot invoke "net.minecraft.entity.ai.attributes.AttributeModifierMap.getValue(net.minecraft.entity.ai.attributes.Attribute)"
i have been planning on changing this but it would require i change all the jsons, and at the moment i am too lazy. i wanted to figure out this entity thing
-
Cannot invoke "net.minecraft.entity.ai.attributes.AttributeModifierMap.getValue(net.minecraft.entity.ai.attributes.Attribute)"
the minibossentity class is linked at the top of the forum but here: https://pastebin.com/WVBGZWBZ
-
Cannot invoke "net.minecraft.entity.ai.attributes.AttributeModifierMap.getValue(net.minecraft.entity.ai.attributes.Attribute)"
recent Log: https://pastebin.com/1CeBETYe
-
Cannot invoke "net.minecraft.entity.ai.attributes.AttributeModifierMap.getValue(net.minecraft.entity.ai.attributes.Attribute)"
I also removed it from the previous class just to be clear
-
Cannot invoke "net.minecraft.entity.ai.attributes.AttributeModifierMap.getValue(net.minecraft.entity.ai.attributes.Attribute)"
i have changed it so it subscribes to the Bus.MOD https://pastebin.com/fm2SA0T0 And it still wont summon the entity Any more suggestions Thanks!
-
Cannot invoke "net.minecraft.entity.ai.attributes.AttributeModifierMap.getValue(net.minecraft.entity.ai.attributes.Attribute)"
I am trying to add an entity into minecraft using forge. i had gotten the game to run without errors until i tried to /summon him ingame. I dont understand what im missing but i assume it has to do with the attributes not registering. Entity class:https://pastebin.com/WVBGZWBZ Player Events class:https://pastebin.com/NpuTE53S Error log: https://pastebin.com/Dj59TPSf I will be forever in debt if you decide to help with this
-
Ore Generation 1.16.5
I am trying to add end ores. for some reason they just wont generate period. I cant seem to find a solution This is my init class import net.minecraft.block.Blocks; import net.minecraft.world.biome.Biome; import net.minecraft.world.gen.GenerationStage; import net.minecraft.world.gen.feature.ConfiguredFeature; import net.minecraft.world.gen.feature.Feature; import net.minecraft.world.gen.feature.OreFeatureConfig; import net.minecraft.world.gen.feature.template.BlockMatchRuleTest; import net.minecraftforge.common.world.BiomeGenerationSettingsBuilder; import net.minecraftforge.event.world.BiomeLoadingEvent; public class FeatureInit { public static final ConfiguredFeature<?, ?> VIBRANIUM_ORE = Feature.ORE.configured( new OreFeatureConfig(new BlockMatchRuleTest(Blocks.END_STONE), BlockInit.VIBRANIUM_ORE.get().defaultBlockState(), 4)) //vein size .range(100).squared() //maximum y level where ore can spawn .count(13); //how many veins maximum per chunk public static void generateOre(final BiomeLoadingEvent event) { BiomeGenerationSettingsBuilder generation = event.getGeneration(); if (event.getCategory().equals(Biome.Category.THEEND)) { //OPTIONAL IF STATEMENT allows you to generate ores in specific biome types for example icy biomes generation.addFeature(GenerationStage.Decoration.UNDERGROUND_ORES, VIBRANIUM_ORE); } } } And this is in the original class //Ore Generation private void setup(final FMLCommonSetupEvent event) { // some preinit code LOGGER.info("HELLO FROM PREINIT"); LOGGER.info("ORE BLOCK >> {}", BlockInit.VIBRANIUM_ORE.get()); MinecraftForge.EVENT_BUS.addListener(EventPriority.HIGH, FeatureInit::generateOre); } I am confused as to why this doesn't work. Any info would help
IPS spam blocked by CleanTalk.