Posted April 30, 20169 yr Hello! I am currently trying to make some kind of rail,but not like the minecraft basic rail,extending BlockRailBase;I want to use the onEntityColidedWithBlock method[or something alike] and a update method in my te class to expand the Block colision range;all of this making an entity like an minecart move Also,i want my rail to be using EnumFacing , Plane.Horizontal Now,my questions: 1:How do i lock my entity on my block to move only from a point to another 2:How do i use the update method so i detect if the state is north,to move the entity in the x axis etc. I am curently using a Base block made by me by copying all the vanila code,then removing the enumraildirection blockstate things but the rail doesn`t get "on" my custom rail..... 1.9 P.S.:The vanilla [or forge because forge might of patched some things] code of the BlockRailBase is confusing,or i might say it`s alike it`s class modifyer,abstract
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.