-
Recently Browsing
No registered users viewing this page.
-
Posts
-
Does anybody know any cool mods for 1.16.3 that adds biomes and dungeons? Thanks!
-
SO I have the following code I've been looking through the gui of the Minecraft menus and replicated them but somehow my buttons don't seem to take the correct texture. Code: https://paste.md-5.net/figovuzufa.java Image:
-
Still don't know why you added the 1 if you didn't want block updates.
-
Thanks for your reply. You gave me another idea for a solution. 19 : 1 will cause a block update. 2 will send the change to clients. 16 will prevent neighbor reactions (e.g. fences connecting, observers pulsing). That what I found in Minecraft source for "setBlockState" Function. 🤨
-
By Somonestolemyusername · Posted
all i has in it is package com.vicken.mod3.entities.projectiles; import com.vicken.mod3.util.RegistryHandler; import net.minecraft.block.BlockState; import net.minecraft.block.Blocks; import net.minecraft.block.WallTorchBlock; import net.minecraft.entity.LivingEntity; import net.minecraft.entity.item.ItemEntity; import net.minecraft.entity.projectile.ArrowEntity; import net.minecraft.item.ItemStack; import net.minecraft.item.Items; import net.minecraft.potion.EffectInstance; import net.minecraft.potion.Effects; import net.minecraft.util.Direction; import net.minecraft.util.math.BlockPos; import net.minecraft.util.math.BlockRayTraceResult; import net.minecraft.util.math.RayTraceResult; import net.minecraft.world.World; public class Ak47ArrowEntity extends ArrowEntity { public Ak47ArrowEntity(World worldIn, LivingEntity shooter) { super(worldIn, shooter); RegistryHandler.BULLET.get(); } @Override protected void arrowHit(LivingEntity living) { super.arrowHit(living); living.setFire(15); } }
-
-
Topics
-
Who's Online (See full list)