Skip to content

Instantly share code, notes, and snippets.

View ByteLaw5's full-sized avatar
🏠
Working from home

ByteLaw5

🏠
Working from home
View GitHub Profile
public static AttributeModifierMap getAttributes() {
return MobEntity.func_233666_p_()
.func_233815_a_(Attributes.field_233818_a_, 30.0D) //Health
.func_233815_a_(Attributes.field_233819_b_, 50.0D) //Follow Range
.func_233815_a_(Attributes.field_233823_f_, 5.0D) //Attack Damage
.func_233815_a_(Attributes.field_233821_d_, 0.635D) //Movement Speed
.func_233815_a_(Attributes.field_233826_i_, 7.0D) //Armor
.func_233815_a_(Attributes.field_233827_j_, 1.0D) //Armor Toughness
.func_233815_a_(Attributes.field_233825_h_, 1.0D)
.func_233813_a_();
package com.bytelaw.bytesstructures.entity;
import com.bytelaw.bytesstructures.BytesStructures;
import com.bytelaw.bytesstructures.item.ModdedSpawnEggItem;
import com.google.common.collect.Maps;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityClassification;
import net.minecraft.entity.EntityType;
import net.minecraft.entity.LivingEntity;
import net.minecraft.entity.ai.attributes.Attribute;
{
"type": "minecraft:chest",
"pools": [
{
"rolls": {
"min": 1.0,
"max": 4.0,
"type": "minecraft:uniform"
},
"entries": [
package com.bytelaw.bytesstructures.world.gen.feature.structure;
import com.bytelaw.bytesstructures.BytesStructures;
import com.bytelaw.bytesstructures.entity.BytesEntities;
import com.google.common.collect.Lists;
import com.mojang.datafixers.Dynamic;
import net.minecraft.util.math.BlockPos;
import net.minecraft.util.math.ChunkPos;
import net.minecraft.util.math.MutableBoundingBox;
import net.minecraft.world.biome.Biome;
package com.bytelaw.bytesstructures.block;
import net.minecraft.block.*;
import net.minecraft.block.material.Material;
import net.minecraft.block.material.MaterialColor;
import net.minecraftforge.common.ToolType;
import net.minecraftforge.fml.RegistryObject;
import net.minecraftforge.registries.DeferredRegister;
import net.minecraftforge.registries.ForgeRegistries;
package com.bytelaw.bytesstructures;
import com.bytelaw.bytesstructures.block.BytesBlocks;
import com.bytelaw.bytesstructures.block.tree.BytesTreeDecorators;
import com.bytelaw.bytesstructures.client.GuardRenderer;
import com.bytelaw.bytesstructures.config.BytesConfig;
import com.bytelaw.bytesstructures.entity.BytesEntities;
import com.bytelaw.bytesstructures.world.BytesBiomes;
import com.bytelaw.bytesstructures.world.gen.feature.BlackWalnutBigTreeFeatureConfig;
import com.bytelaw.bytesstructures.world.gen.feature.BytesFeatures;
Yes, this is all registered
Yes, this is all added to the biomes
No, the create method does not work
Error getting artifact: mezz.jei:jei-1.15.2:6.0.0.4_mapped_snapshot_20200516-1.15.1:sources@jar from DeobfuscatingRepo
java.lang.IllegalArgumentException: Failed to properly track class blocks around class mezz.jei.config.forge.Config$Ignore$RequiresMcRestart$RequiresWorldRestart:119
at net.minecraftforge.gradle.common.util.McpNames.injectJavadoc(McpNames.java:164)
at net.minecraftforge.gradle.common.util.McpNames.rename(McpNames.java:101)
at net.minecraftforge.gradle.userdev.util.Deobfuscator.deobfSources(Deobfuscator.java:166)
at net.minecraftforge.gradle.userdev.util.DeobfuscatingRepo.findSource(DeobfuscatingRepo.java:143)
at net.minecraftforge.gradle.userdev.util.DeobfuscatingRepo.findFile(DeobfuscatingRepo.java:79)
at net.minecraftforge.gradle.common.util.BaseRepo.getArtifact(BaseRepo.java:81)
at net.minecraftforge.gradle.common.util.BaseRepo.getArtifact(BaseRepo.java:41)
at net.minecraftforge.gradle.common.util.BaseRepo$Builder$1.lambda$getArtifact$0(BaseRepo.java:127)