Jump to content
  • Home
  • Files
  • Docs
Topics
  • All Content

  • This Topic
  • This Forum

  • Advanced Search
  • Existing user? Sign In  

    Sign In



    • Not recommended on shared computers


    • Forgot your password?

  • Sign Up
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • problem Flying
Currently Supported: 1.16.X (Latest) and 1.15.X (LTS)
Sign in to follow this  
Followers 0
GuillermoHunt

problem Flying

By GuillermoHunt, July 15, 2016 in Modder Support

  • Reply to this topic
  • Start new topic

Recommended Posts

GuillermoHunt    0

GuillermoHunt

GuillermoHunt    0

  • Tree Puncher
  • GuillermoHunt
  • Members
  • 0
  • 1 post
Posted July 15, 2016

For outdoor lightning, you should go for Solar lights. Occasionally your plants or trees develop so fast that the lighting is not focused in the right place any longer. Consider solar powered lights for walkways and paths.

 

In your landscape lighting style, once you have dug the trench and buried conventional electrical cable, you have no choice but to adhere with the authentic strategy throughout the upcoming years. You have no choice to change that design because of new landscape designs or simply boredom with the exact same appear all the time. Sometimes your vegetation or trees develop so quick that the lighting is not targeted in the right place anymore. There is just no solution besides much more digging and expense.

 

Instead, photo voltaic safety lights use LED's (light emitting diodes). LED's only use very small amounts of energy making them ideal for solar powered lighting. Used on their personal these are not as bright as a halogen bulb, but use 30 or more with each other and you can produce the exact same quantity of mild as a halogen bulb would but with much much less energy usage. LED's also final for very long periods of time meaning that don't require replacing like halogen bulbs.

 

solar-street-light-led.jpg

 

For outdoor lightning, you should go for Solar lights. They are very best and are in fantastic need these days. There are a number of house melioration shops which are promoting various forms of solar light outdoor which are free from utilizing any electricity energy. Movement detection lights and Path lighting function wonders for reducing the electric bills. You should also use natural sunlight at the best. Opt for opening the home windows, drapes in the working day time or you can set up the skylights and tubes, you will be shocked at their working.

 

The main use of these lights is to enhance the Christmas tree. The very best component about using battery operated lights to deck up the tree is that you can opt to keep the tree anyplace in the house and not always in a corner where you have an energy socket present. This provides you a great deal more independence in phrases of decorating your house for the celebrations.

 

Further, improperly hid wiring is only heading to complicate matters and is going to spoil the aesthetics of your lawn. You can steer clear of all these publications by heading in for solar powered light that can be equipped to your driveway as nicely as other components of your house.

 

One of the most well-liked systems is a photo voltaic electric method. This is where the sun's energy is used to provide electricity to your home. You most likely have seen photo voltaic panels set up on a roof or on the ground beside a house. Solar panels recognized also as photovoltaic, transforms the sunlight's power to electrical energy. This is the exact same kind of system used about the house to energy led solar light, solar fountains and photo voltaic pumps. The main distinction is the scale of the panels and the overall method.

 

In addition to those talked about over, you will be in a position to have a light that is nearly the same as a mild becoming emitted by electrical energy or gas driven lights. There is basically no difference in using a solar patio lights to utilizing normal lights. They also are known to live longer, in contrast to those mild bulbs that we now use.

 

Remember nevertheless, to ensure that these lights are set in region that would obtain direct sunlight as it will not function in shaded locations. Another disadvantage would be that these lights will not function on a wet working day.

  • Quote

Share this post


Link to post
Share on other sites

coolAlias    746

coolAlias

coolAlias    746

  • Reality Controller
  • coolAlias
  • Members
  • 746
  • 2805 posts
Posted July 16, 2016

It's one of those things that I've yet to see an elegant and problem-free solution for.

 

You could try adding one or more boolean flags per player and attempt to figure out what the value of #allowFlying should be for other mods, then delay setting it to false until the next tick to make sure you don't do so preemptively. The logic can get kind of messy, but it should be doable.

  • Quote

width=228 height=100http://i.imgur.com/NdrFdld.png[/img]

Share this post


Link to post
Share on other sites

P3pp3rF1y    3

P3pp3rF1y

P3pp3rF1y    3

  • Tree Puncher
  • P3pp3rF1y
  • Forge Modder
  • 3
  • 18 posts
Posted July 16, 2016

This is how I do it in Reliquary.

https://github.com/P3pp3rF1y/Reliquary/blob/1.10.2/src/main/java/xreliquary/handler/CommonEventHandler.java#L497

 

It is a spin off from logic found in bloodmagic.

 

The gist is track the players that you have given flight to in a list and when you figure out that they should no longer have flight mark them as such in your list and remove the flight from them just in that tick. The next tick when you check the list they are already marked as players without flight and thus you're not removing flight from them and other mods can happily use their flight stuff.

 

 

  • Quote

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

    • Insert image from URL
×
  • Desktop
  • Tablet
  • Phone
Sign in to follow this  
Followers 0
Go To Topic Listing



  • Recently Browsing

    No registered users viewing this page.

  • Posts

    • forgotendeath09
      why is 3 in the middle of 7

      By forgotendeath09 · Posted 19 minutes ago

      when you load up forge 1.12.2 the top is displayed as 0/7, once it gets to 3/7 the bar below is in the middle; this is very wrong please consider changing this it drives me crazy every time i launch a modded world.
    • F0RZera
      have an error when trying to connect to LAN server with mods

      By F0RZera · Posted 20 minutes ago

      Ok thanks
    • DeNub
      Cannot create a modded forge server for 1.16.4

      By DeNub · Posted 22 minutes ago

      Its working all well now. Thank you for the support and being patient with me.
    • BobbyLikesCake
      1.16.4 Modded not loading singleplayer worlds

      By BobbyLikesCake · Posted 53 minutes ago

      Ok, Thanks I did modify quark slightly but I hope if I delete all of them I can just edit them once again
    • diesieben07
      1.16.4 Modded not loading singleplayer worlds

      By diesieben07 · Posted 55 minutes ago

      If you didn't modify any of them then its fine, they will just regenerate.
  • Topics

    • forgotendeath09
      0
      why is 3 in the middle of 7

      By forgotendeath09
      Started 19 minutes ago

    • F0RZera
      10
      have an error when trying to connect to LAN server with mods

      By F0RZera
      Started 5 hours ago

    • DeNub
      27
      Cannot create a modded forge server for 1.16.4

      By DeNub
      Started 11 hours ago

    • BobbyLikesCake
      13
      1.16.4 Modded not loading singleplayer worlds

      By BobbyLikesCake
      Started 4 hours ago

    • Dr.Nickenstein
      3
      Method to get the current durability?

      By Dr.Nickenstein
      Started 11 hours ago

  • Who's Online (See full list)

    • Ecpgamez
    • Tetron27
    • UnknownVoice
    • brockmoen
    • Nitrix
    • gogohugo2013
    • forgotendeath09
    • LexManos
    • diesieben07
    • DeNub
    • Dez_Flame_Fox
    • F0RZera
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • problem Flying
  • Theme

Copyright © 2019 ForgeDevelopment LLC · Ads by Longitude Ads LLC Powered by Invision Community