question: public static boolean canReplacePart ( World world , BlockPos pos , IMultipart oldPart , IMultipart newPart ) { IMultipartContainer container = getPartContainer ( world , pos ) ; if ( container == null ) return false ; return container . canReplacePart ( oldPart , newPart ) ; }
target:  Checks whether or not the specified part can be replaced by another part to the world.