mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-18 11:19:19 +00:00
Always sync curios, fixes some desyncs. Also clarify that ring of far reach only works on blocks (for now?)
This commit is contained in:
1 parent
1e8c3fce46
commit
84537a7495
5 files changed
+2
-16
No files matched your search
@@ -121,7 +121,7 @@ public class CurioIntegration extends EquipmentHandler {
|
||||
|
||||
@Override
|
||||
public boolean shouldSyncToTracking(String identifier, LivingEntity entity) {
|
||||
return getItem().shouldSyncToTracking(stack, entity);
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -151,10 +151,6 @@ public abstract class ItemBauble extends ItemMod implements ICosmeticAttachable,
|
||||
return HashMultimap.create();
|
||||
}
|
||||
|
||||
public boolean shouldSyncToTracking(ItemStack stack, LivingEntity entity) {
|
||||
return false;
|
||||
}
|
||||
|
||||
public boolean hasRender(ItemStack stack, LivingEntity living) {
|
||||
return !(stack.getItem() instanceof ICosmeticAttachable && !((ICosmeticAttachable) stack.getItem()).getCosmeticItem(stack).isEmpty())
|
||||
&& !(stack.getItem() instanceof IPhantomInkable && ((IPhantomInkable) stack.getItem()).hasPhantomInk(stack))
|
||||
|
||||
@@ -289,11 +289,6 @@ public class ItemFlightTiara extends ItemBauble implements IManaUsingItem {
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean shouldSyncToTracking(ItemStack stack, LivingEntity living) {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean hasRender(ItemStack stack, LivingEntity living) {
|
||||
return super.hasRender(stack, living) && living instanceof PlayerEntity;
|
||||
|
||||
@@ -68,11 +68,6 @@ public class ItemItemFinder extends ItemBauble {
|
||||
else this.tickServer(stack, (PlayerEntity) player);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean shouldSyncToTracking(ItemStack stack, LivingEntity living) {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
@OnlyIn(Dist.CLIENT)
|
||||
public void doRender(ItemStack stack, LivingEntity living, float limbSwing, float limbSwingAmount, float partialTicks, float ageInTicks, float netHeadYaw, float headPitch, float scale) {
|
||||
|
||||
Reference in new issue
Block a user