21w08a
- rework on handling /log packets - rework on player attack and interaction with entities - rework display_title (need recheck) - rework packets for structure blocks
This commit is contained in:
1 parent
3505138351
commit
2cf403057c
12 files changed
+95
-41
No files matched your search
@@ -4,10 +4,9 @@ import net.minecraft.block.Block;
|
||||
import net.minecraft.block.BlockState;
|
||||
import net.minecraft.block.Material;
|
||||
import net.minecraft.block.MapColor;
|
||||
import net.minecraft.class_5532; // TargetFinder
|
||||
import net.minecraft.entity.EntityType;
|
||||
import net.minecraft.entity.SpawnReason;
|
||||
//import net.minecraft.entity.ai.TargetFinder;
|
||||
import net.minecraft.entity.ai.NoPenaltyTargeting;
|
||||
import net.minecraft.entity.ai.goal.WanderAroundGoal;
|
||||
import net.minecraft.entity.ai.pathing.NavigationType;
|
||||
import net.minecraft.entity.mob.PathAwareEntity;
|
||||
@@ -253,7 +252,7 @@ public class BlockInfo
|
||||
for (int i=0; i<1000; i++)
|
||||
{
|
||||
|
||||
Vec3d vec = class_5532.method_31510(creature, 10, 7); // TargetFinder.findTarget(creature, 10, 7);
|
||||
Vec3d vec = NoPenaltyTargeting.find(creature, 10, 7); // TargetFinder.findTarget(creature, 10, 7);
|
||||
if (vec == null)
|
||||
{
|
||||
continue;
|
||||
|
||||
Reference in new issue
Block a user